LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problems connecting to the internet with linux (https://www.linuxquestions.org/questions/linux-networking-3/problems-connecting-to-the-internet-with-linux-318396/)

Eric55441 04-29-2005 06:50 AM

Problems connecting to the internet with linux
 
Right now i am dual booting slackware 10.1 and windows XP so I will have to reboot for each of your sugestions. I have a actiontec router that comes with the MSN/qwest DSL service. I has allways worked with windows but I am haveing troble acessing the internet in linux.

Darin 04-29-2005 09:00 AM

Code:

root@slack~# dhclient eth0
All you have to do is set up the network card for DCHP and the actiontec should sent it the proper settings to connect. You can also run the netconfig utility as root and select DHCP. This is assuming that you haven't changed the settings on the actiontec, but if you knew what to change on the DSL device then you would probably already know what settings to add to Linux so I'm guessing it's set the way it came from qwest.

If you can't get it running and post again, please post the results of these commands run as root:

lsmod
lspci
ifconfig -a
ping -c 4 127.0.0.1
ping -c 4 192.168.0.1

Eric55441 04-29-2005 03:31 PM

If hard to copy and paste because I have to reboot each time I try commands. I will telle you what dhclient hapens in a cople of minutes

Eric55441 04-29-2005 03:48 PM

I did the netconfig then the dhclient eth0 thing and it said "eth0 not found" or somthing like that. Then it gives me a web page of were to update sothing. When I tryed pinging it came back around .0035 ms

Darin 05-02-2005 08:59 AM

Quote:

Originally posted by Darin
If you can't get it running and post again, please post the results of these commands run as root:

lsmod
lspci
ifconfig -a
ping -c 4 127.0.0.1
ping -c 4 192.168.0.1

lsmod should be a small enough list you could write it down, the important part in lspci is the section(s) for Ethernet Controller and in ifconfig, for now, the relevant part is whether you just have a lo section or an eth0 or even eth1 section also. You can also redirect the output to a text file and copy that onto your windows partition or a floppy:
Code:

root@darkstar:~# lspci > may_lspci.txt


All times are GMT -5. The time now is 02:38 AM.