Setting up a local network
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 think Mandrake have a script called
Code:
ifup <interface> |
How do you run this script?
|
if you have it just like a normal program. You have to be Super user to do it.
so If you want to setup eth0 just type: Code:
ifup eth0 |
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 |
Here is the config (Is it ifconfig or ipconfig?):
Code:
Destination Gateway Genmask Flags Metric Ref UseIface I'm sorry about the formatting. Apparently, the Post program does not allow tabs or spaces. I just hoticed that when I type ifconfig at the prompt, I get a lot more information about eth0 and 1o. Do you need that information as well? |
It is ifconfig (ipconfig is windows). If you use [ CODE ] blocks the board will display the text with spaces.
|
I hate to be so dense, but how do you use [CODE]
|
Put a [ CODE ] bracket at the start and a [ /CODE ] braket at the end (no spaces betwwen the brackets)
|
Any chance of a blind dhcpcd?
While in that terminal, and already su - (means changing to root) type: dhcpcd eth0 Cool |
Here is the config (Is it ifconfig or ipconfig?):
Code:
Destination Gateway Genmask Flags Metric Ref UseIface Code:
eth0 Link encap:Ethernet HWaddr 00:E0:B8:49:D0:C3 |
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. |
All times are GMT -5. The time now is 03:31 PM. |