Mandrake 10.0 and my network
Hi
I've long used Windows XP, and this year, for my birthtday, I got Mandrake 10.0 Discovery. I already had a network set up with Windows XP sharing our internet connection (adsl) between me and my dad using a router (Nexland Soho ICB), which worked peachy. But I can't seem to get my PC on the network when using Linux (I have a dual boot, when I use XP it still gets on the net fine) I've been through the DakConnect wizard a gazillion times, and I'm out of ideas... Can anyone help me? |
In a terminal (you may have to be root if these commands are unavailable su root )
ifconfig will check your interfaces. Do you have an IP address? route Do you have a gateway? ping localhost ping youripaddress ping theRouter'sIPaddress cat /etc/resolv.conf Do you have DNS? ping cbc.ca Somewhere along this line, you should find out why things are not happening. To cheat, you could peek at the network setting in the XP box that works... |
This looks like the ball park for my problems sharing internet w/2 boxes running Mandrake 10. The main `puter is directlly connected to the router which has the DSL modem connected to it. The other box (box2 I'll call it) is on connection #1 of the router. I'm having trouble configuring box 2. Here is some output:
[root@mybox jay]# ifconfig eth0 Link encap:Ethernet HWaddr 00:20:35:B1:A1:4A inet6 addr: fe80::220:35ff:feb1:a14a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18 errors:0 dropped:0 overruns:0 frame:0 TX packets:35 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2916 (2.8 Kb) TX bytes:1338 (1.3 Kb) Interrupt:11 Base address:0xdf80 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:428 errors:0 dropped:0 overruns:0 frame:0 TX packets:428 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:34404 (33.5 Kb) TX bytes:34404 (33.5 Kb) [root@mybox jay]# ping cbc.ca ping: unknown host cbc.ca [root@mybox jay]# ping 192.168.1.101 connect: Network is unreachable [root@mybox jay]# ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.125 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.100 ms 64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.101 ms 64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.098 ms 64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.100 ms 64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=0.101 ms 64 bytes from 127.0.0.1: icmp_seq=7 ttl=64 time=0.113 ms 64 bytes from 127.0.0.1: icmp_seq=8 ttl=64 time=0.113 ms 64 bytes from 127.0.0.1: icmp_seq=9 ttl=64 time=0.112 ms 64 bytes from 127.0.0.1: icmp_seq=10 ttl=64 time=0.112 ms 64 bytes from 127.0.0.1: icmp_seq=11 ttl=64 time=0.101 ms 64 bytes from 127.0.0.1: icmp_seq=12 ttl=64 time=0.101 ms 64 bytes from 127.0.0.1: icmp_seq=13 ttl=64 time=0.104 ms 64 bytes from 127.0.0.1: icmp_seq=14 ttl=64 time=0.100 ms 64 bytes from 127.0.0.1: icmp_seq=15 ttl=64 time=0.102 ms 64 bytes from 127.0.0.1: icmp_seq=16 ttl=64 time=0.103 ms I am not sure what my router's address is or the exact address of box1. How do I obtain these? Any suggestons? I have run Mandrake Control Center and Network settings and tried "New Connection" several times using different settings for LAN connection, ADSL connection and so forth. I can't seem to get it to connect. I'm not trying to share files or printers yet. I just want to connect to the net from box2. |
I was able to set mine up through the mandrake control center. You will probably need to configure your mandrake box(es) to use your router's local-side IP address as the default gateway. The way mine is set up, the router takes the public IP address from my broadband provider. That's the "public" side of the router. One the "private" side, I have 3 computers attached: one via a cable, in the first port on the router's built-in switch/hub, and 2 wirelessly. (My router is a wireless access point as well). The router will have a private IP address, usually the first or last address in one of the private ranges. Many ship with a default of 192.168.1.1. In that case, you'd configure the default gateway of your mandrake machines to be 192.168.1.1 (because the router is acting as your gateway to the public internet). Each machine will also need its own unique IP address, in the same range as your router's address (such as, 192.168.1.100 and 192.168.1.101, in this case). You may also need to input the DNS addresses provided by your ISP.
Now - if your router supports DHCP, it may be able to configure the IP address and DNS/gateway/etc of each client machine for you. My router requires me to specifiically enable DHCP if I want to use it, and if it is disabled (which mine is), I have to input the IP address/gateway/DNS manually on each of my client computers. How do you configure your router? Via a web browser? (Such as, http://192.168.1.1). If so - that's probably the same IP address you'll use as the default gateway setting on your client computers. |
Yes, my default gateway is set to 192.168.1.1. I have never tried to configure my router. In Mandrake Control Center -> Manage Connections, the values I input don't stick. I adjust to configure my card and the IPaddress and set to DHCP (not static), click apply, then OK. I come back a minute later and all the values are gone. Also I think it's weird that on startup eth0 shows FAILED, but Harddrake sees it plain as day.
|
on startup eth0 failing is ok - this is normal
as for the other part: never had it happen... the values i input(ted?) there stuck... try static... if it's a linksys router, the ip address should go: 192.168.1.100 - first device 192.168.1.101 - second device and so on also: try allowing it to configure @ boot... this may make the DHCP stick |
All times are GMT -5. The time now is 08:57 PM. |