LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   adsl router connection setup (https://www.linuxquestions.org/questions/linux-networking-3/adsl-router-connection-setup-185251/)

shabene 05-24-2004 11:24 AM

adsl router connection setup
 
adsl router connection setup

Hi there, I have been trying to make the move to Linux for a couple of years
now, I have been beaten by "win modems" and "USB ADSL modem" so I
have lashed out and got a combined "ADSL/router +4 port hub" which being
new to me I have setup in my usual os, win2k. all went well in the win2k
setup and the router has my connection settings saved, in so far as it
holds my ADSL password and protocol, pppoa etc, connection is made at boot and all works
well. knoppix also is happy with this connection, booting and connecting
with no further settings required, so in theory all should work regardless of
os (don’t forget I’m new to both network connections and routers, as
Previously my connections have been made on 56k or USB).

Well then, I have installed mandrake 10 happily and tried to connect
without joy, I cannot contact the router either (web browser and ip
adderss), I have booted in both win2k and knoppix to try and copy the
connection settings but to no avail, any settings I plug into mandrake fail, I
have tried to setup the connection as both "ADSL and lan" filling in ip
addresses, subnet masks and gateways, tried both pppoe and pppoa
(my isp wants a pppoa vc-mux?).

trawling the forums hasn't helped much but they pointed me to the firewall
which I have checked and is off (security icon etc), I seem to be failing on
the first step, the ethernet connection to the router as the ADSL connection
will be running already I guess, so is there something I have missed? Do I
need to install "server packages" to make this connection or have I just
screwed up the settings? is it something to do with dhcp? i'm lost!

my lan connection is through a "via rhine 2" card built into the mb, the router is an "addon mc8000ue" (http://www.addon-tech.com/p_2.htm) and my connection is through tiscali uk, same as bt broadband i'm told.

any help much app as I really like the look of mandrake and am
Determined that one day I will be able to use it, I know I’m close now.

ToniT 05-24-2004 11:42 AM

Your ip settings are ok? or should you use dhcp (can be used with a program called dhclient)?

What are the contents of 'ifconfig -a'?

Have you setup the default gateway to be the adsl router?

shabene 05-24-2004 01:01 PM

in windows my ip settings are as follows,

router address and gateway 10.0.0.2
static or computer address 10.0.0.5
subnet mask 255.0.0.0

not sure how i have set mandrake at present as i have been trying all sorts of combinations of settings, and i have to reboot to get access to net.

ifconfig -a in mandrake

eth0 Link encap:Ethernet HWaddr 00:0D:87:03:DD:2F
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0xec00

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:271 errors:0 dropped:0 overruns:0 frame:0
TX packets:271 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:23632 (23.0 Kb) TX bytes:23632 (23.0 Kb)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

and in knoppix

eth0 Link encap:Ethernet HWaddr 00:0D:87:03:DD:2F
inet addr:10.0.0.5 Bcast:255.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1723 errors:0 dropped:0 overruns:0 frame:0
TX packets:1875 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:748330 (730.7 KiB) TX bytes:288248 (281.4 KiB)
Interrupt:23 Base address:0x2000

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:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:600 (600.0 b) TX bytes:600 (600.0 b)

hope this makes sense.

ToniT 05-24-2004 09:59 PM

The network is not *up* in your mandrake setting.
Try running:
ifup eth0
or
dhclient eth0
or
pump -i eth0
or
dhcpcd
or (manually)
ifconfig eth0 10.0.0.4 up

Now you should be able to ping the windows machine and the router.
If you are following the manual path, then
route add default gw 10.0.0.2
should do the trick of routing packages and nameserver can be setup in
the /etc/resolv.conf. (these all should happen automaticly when using dhcp client).

shabene 05-25-2004 02:31 PM

right then, tried that and it seems to me i may have something missing, here is the output from the commands you posted...

[root@localhost steve]# ifup eth0
Determining IP information for eth0...SIOCSIFFLAGS: Function not implemented
SIOCSIFFLAGS: Function not implemented
dhclient eth0

q

[root@localhost steve]# dhclient eth0
Internet Software Consortium DHCP Client V3.0.1rc13
Copyright 1995-2002 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

sit0: unknown hardware address type 776
SIOCSIFFLAGS: Function not implemented
SIOCSIFFLAGS: Function not implemented
sit0: unknown hardware address type 776
Listening on LPF/eth0/00:0d:87:03:dd:2f
Sending on LPF/eth0/00:0d:87:03:dd:2f
Sending on Socket/fallback
receive_packet failed on eth0: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
send_packet: Network is down

[root@localhost steve]# pump -i eth0
bash: pump: command not found
[root@localhost steve]# dhcpcd
bash: dhcpcd: command not found
[root@localhost steve]# ifconfig eth0 10.0.0.5
SIOCSIFFLAGS: Function not implemented
[root@localhost steve]#
[root@localhost steve]#
[root@localhost steve]#
[root@localhost steve]#
[root@localhost steve]#
[root@localhost steve]#
[root@localhost steve]#
[root@localhost steve]#
[root@localhost steve]#
[root@localhost steve]# ifup eth0
Determining IP information for eth0...SIOCSIFFLAGS: Function not implemented
SIOCSIFFLAGS: Function not implemented

[root@localhost steve]# dhclient eth0
Internet Software Consortium DHCP Client V3.0.1rc13
Copyright 1995-2002 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

sit0: unknown hardware address type 776
SIOCSIFFLAGS: Function not implemented
SIOCSIFFLAGS: Function not implemented
sit0: unknown hardware address type 776
Listening on LPF/eth0/00:0d:87:03:dd:2f
Sending on LPF/eth0/00:0d:87:03:dd:2f
Sending on Socket/fallback
receive_packet failed on eth0: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21
send_packet: Network is down

[root@localhost steve]# pump -i eth0
bash: pump: command not found
[root@localhost steve]# dhcpcd
bash: dhcpcd: command not found
[root@localhost steve]# ifconfig eth0 10.0.0.4
SIOCSIFFLAGS: Function not implemented
[root@localhost steve]#


i agree the lan isnt up and the dhcp isnt getting through, but is this something to do with missing packages? last night i spent a couple of hours trying out slack (i have a couple of old hard disks i plug in to try out new distros) and that had no problems understanding my router or lan settings, mandrake is so much easier to install but for this prob i have at the end. anyway do you think i may have missed something out on install?

p.s. cheers for your much valued help

ToniT 05-25-2004 02:42 PM

hmm.. what kernel are you using? Googling that error message mentions mostly 2.2 kernels..

Some others are having similar errors:
http://www.linuxmafia.com/faq/VALinu...ags-error.html
http://www.thelinuxpimp.com/main/mod...rticle&sid=562

shabene 05-25-2004 05:29 PM

i'm pretty sure i went for the 2.6, but i had inspiration from your last post, a hardware conflict!

my motherboard has lan, modem, sound and raid built in, the raid disabled in bios. i tried enabling the raid and all turned ugly but before the freeze came come good news, the boot echos showed that the net was up, well thats what it looked like to me, i got to see the ip addresses anyway but wasnt quick enough to jot them down.

well then i am going to go for a fresh install tomorow with raid enabled and see what happens.

kalleanka 05-26-2004 12:34 PM

might be the force no apci in drakeboot. Som "etho" need this to be checked. I fixed it in mandrake 9.2. I might be the same in 10.

do this.

configuration->configure your computer->boot->drakconnect->configure and check the "forse no apic"-box.

ok and restart the computer. Good luck!

shabene 05-26-2004 02:27 PM

well then....

tried 2.4 and 2.6 kernels and still have same problem, tried disabling my net card and trying another, tried forcing no apic all to no avail.

i have found a couple of threads saying it may be a motherboard thing, but why should i only get this problem with mandrake? slack and knoppix are fine, knoppix with 2.4 and 2.6 kernels, frankly i'm lost.

my motherboard L7VTA kt400-8235 with built in sound, modem lan etc.

shabene 05-26-2004 05:03 PM

WA-hey!!! I'm there, deep joy.

thanks for all the pointers, i wouldn't have got there without your help.

what eventually cracked it was to disable pnp aware OS in BIOS, get the BIOS to refresh connected devices on next boot and to use the 2.6 kernel, the 2.4 just froze the system when i tried to access the net.

once again, Thanks!


All times are GMT -5. The time now is 12:27 AM.