Struggling to configure my network :S
Hey all - I have just installed slack 10.0 and i am having loads of problems trying to get the internet up and running.
My router supports DHCP and so I set that in netconfig. I have also loaded the driver module for the network adapter. However, when I try to use a broswer, I only get "www.mozilla.org could not be found please check the name and try again". If I do cat /etc/resolv.conf I get: search localdomain (i specified localdomain in netconfig) and that is all. What else must I do to be able to connect? Please help me and I am fairly new to linux so... simple answers :D Thanks so very much |
in your browser's URL goto
http://216.239.57.99 also, trp ping 216.239.57.99 this is the IP address of Google. if ping and the browser works with IP's and not names (google.com) then we know your problem is a DNS problem if it still doesnt work... we know its not a dns problem. |
Check to see that your network interface is actually up and running.
Code:
jeff@rwharch:~$ /sbin/ifconfig If it doesn't have an IP as it should, then check your network configuration. Slackware makes it easy to do this -> it's all in a single text file /etc/rc.d/rc.inet1.conf Open that file in any text editor (you'll need root access). It will look like this: Code:
# /etc/rc.d/rc.inet1.conf AFAIK, you won't need to specify the search domain or DNS when your using DHCP. |
Thanks for the detialed replies all.
I cannot ping the ip, I get this message: Network is Unreachable. In the /sbin/ifconfig I have: lo link ecap: local loopback inet addr: 127.0.0.1 Mask: 255.0.0.0 Up loopback running MTU: 16436 Metric: 1 RX packets: 68 errors: 0 dropped: 0 overuns:0 frame: 0 TX packets: 68 errors: 0 dropped: 0 overuns:0 frame: 0 Collisions: 0 txqueuelen: 0 RX bytes: 519 (5.0kb) TX bytes: 5196 (5.0kb) In /etc/rc.d/rc.inet1.conif , there is a yes in eth0 for USE_DHCP, the rest are set to "" Hmmm, I'm afraid this means very little to me, could someone diagnose my problem for me? Thanks a lot |
If you can't ping an IP address, then your NIC isn't up and running, which is why it (eth0) doesn't show up when you typed ifconfig. Perhaps the module (driver) for your card is not loaded.
What kind of NIC do you have? Are you sure the right module is loading? you can check for which modules are currently running by the command /sbin/lsmod |
Try these from a terminal. You need to be root
ifconfig eth0 up dhcpcd -r |
Okay thanks, my NIC is 2wire pc port - i got this by doing ipconfig /all on this windows box and it's in the network adapters hardware section and the two boxes are on a router so they'll be the same. However, in the install of slack, it probed my Network adapter as a Via-Rhine. This does also show up in ipconfig /all but it's set as disabled....To further complicate things, Via-Rhine shows up in the /sbin/lsmod whereas the 2wire pc port does not. :confused:
I used this command to load the driver: echo "/sbin/modprobe 2wire pc port"> /etc/rc.d/rc.netdevice and then: chmod 755 /etc/rc.d/rc.netdevice Thanks for your help so far superbondbond |
I don't have any experience with that device.
A little searching returned these threads: http://www.linuxquestions.org/questi...t=wire+pc+port http://www.linuxquestions.org/questi...t=wire+pc+port http://www.linuxquestions.org/questi...t=wire+pc+port http://www.linuxquestions.org/questi...t=wire+pc+port Looks like an odd device to work with. It looks like others have trouble configuring that device too. good luck. |
All times are GMT -5. The time now is 04:40 PM. |