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 have DSL which is routed through a D-Link DI-704 Broadband Router. Connected to that router is a network printer, a desktop computer and a laptop computer. I have Mandrake Linux 9.1 loaded on my laptop.
I have been unsuccessful in getting my laptop configured to connect to the internet when the caat 5 cable is connected to the router. When I connect the DSL directly from the modem to the laptop, I can connect without any problem, but when I place the router between the moden and the laptop, I cannot get an internet connection.
The DL-704 Gateway (I believe, since this is what the manual says) is 192.168.0.1.
The IP for my DSL is dynamic rather than static and at the moment is 151.199.154.108.
When I enter 192.168.0.1 into my browser, the DL-704 Device Information is displayed. The critical information displayed is:
IP Address: 151.199.154.108 PPPoE Connection
Subnet Mask: 255.255.255.255
Gateway: 151.199.154.108
Domain Name Server: 207.68.32.39, 207.68.32.38
The IP Address of my printer is static and is 192.168.0.12 and the subnet Mask is 255.255.255.0
The IP address on my desktop and laptop are set by DHCP and are both 192.168.0.XXX
Can anyone give me the help I need to set up my internet connection?
I regret that I cannot follow your instructions. They are much too criptic for a newbie. How can a newbie be a "Super" user? You simply don't make yourself clear.
I wonder if there is anyone else out there who could help me?
Open a termial as a normal user and type "su -". Press enter and you will be prompted to enter the password for your root user. This will give you full admin privialages on that machine.
It sounds like you have a routing problem. Can you print the output of:
ifconfig
route -n
It appears that your interface is set up wrong. Try typing
ifconfig eth0 192.168.0.254
and then try to see if you can surf the web. Also, post the contents of /etc/resolv.conf.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.