Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I connect my Slackware 9.0 machine to the Internet through a switch(hub?), then from the switch to the ADSL modem(with router function built-in), then to the Internet. When I do ifconfig I get the following information:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)
[/QOUTE]
When I installed Slackware 9.0, I set it to use DHCP to probe for the network settings instead of using static IP. But this gives me some warning messages everytime I boot up. Although I can use the Internet without any problems but I feel no good with the warnings. So now I am thinking of setting it back to using static IP instead of DHCP.
How should I do that?
*p/s: I wanted to show you guys the warning messages but I can't find it when I do dmesg... sorry...
I tried that but if I set the addresses statically, I cannot access webpages through Mozilla. However, when I do "ping 192.168.0.1"(which is the router modem), it works normally. I am wondering if this is because that I set the nameserver wrongly or ... well I have no idea... btw I don't have a nameserver in my network. The switch connects 6 computers but we are just sharing the Internet connection. All computers are working individually.
Thanks for your help
I think I will have to bear with the warning messages for a while
No, I didn't. But I cannot try this now as I just switched to Vine Linux(a japanese distro) because I need full japanese support to complete my reports. I will go back to Slackware after I finish my reports and try the tips you gave me. Thanks a lot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.