setting up internet connection

I'm having fedora core4.I have a ADSL modem and can access through Windows.I tried setting up internet connection in linux using setup command and netconfig,but doesn't work. can anybody help me with the steps in detail.also can i use the same ip address as in windows?

of course, you can :wink:
is it usb or ethernet modem?

it is connected to usb

Is it possible to connect it to ethernet instead? Much fewer headaches. There's absolutely no good reason to give a modem a USB jack instead of an ethernet one.

No, there is no ethernet card.how do i connect to internet using existing connection

use the route command and give the neccessary submask/subnet route and check whether still internet is getting or not

more over check ifconfig for correct device and add route to that device only

With the USB connection attached, could you post the output of /sbin/ifconfig and /sbin/route -n please?

#/sbin/ifconfig

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1735 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1735 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1830366 (1.7 MiB)  TX bytes:1830366 (1.7 MiB)
#/sbin/route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 lo

Seems like it is little difficult to set up the connection .Thanx for the help:)