Jump to content

Adsl over Ethernet [solved]


ljmm
 Share

Recommended Posts

Hello !

I bought Discovery 10, I was unable to run in graphical mode probably due to GeForce card not supported. (Got around by switching to a downloaded ML10.1)

Now: Totally unable to connect to internet ADSL via built-in Realtek RTL 8139 (as Eth0) and a Speedtouch 510.

More frustrating is the fact that I ran same installation on a HP notebook with same RTL 8139 built-in and there no problem....

 

Grateful to get some help (but simple as I am novice)

Link to comment
Share on other sites

hi there and welcome aboard :)

 

in case you use an alcatel speedtouch usb modem, this post might be helpful for you. dunno if it will be a real help for your modem (in case it is the troublemaker) but taking a look won't hurt, i guess.

http://mandrakeusers.org/index.php?showtopic=16970

 

as i do not know your modem-type, nor the way you are connected, i need some info. does the modem work as a router? does it work with dhcp? if yes, try setting up a connection with a static ip, maybe that helps.

 

was the networkcard recognized by mandrake? were there any errors when "bringing up eth0" at boot? have you already used mandrakes network wizard? if yes, please post the contents of your /etc/sysconfig/network-scripts/ifcfg-eth0 file. what do you get when you type "ifconfig", "ifup etho" and "iptables -nvL" as root in a terminal?

Link to comment
Share on other sites

Thank you !

Speedtouch 510 is not a USB modem, it is connected to the Eth 0 realtek built-in card.

Eth0 is OK at boot, I think it is working with dhcp as I remember from the installation. I will answer last questions later today.

Thanks again.

Link to comment
Share on other sites

Hi

 

I was having almost the same problem but i got it fixed...

run drakconnect as root and configure it as ADSL connection.

Then open a terminal, su to root and run this:

# service network stop

# ifconfig eth0 192.168.0.2 broadcast 255.255.255.255 netmask 255.255.255.0 gateway 192.168.0.1

# ifup lo

# ifup ppp0

 

it should do it. If you are ok with those come back here and i will explain to you how to make the settings permanent

Edited by phazeman
Link to comment
Share on other sites

hi there and welcome aboard :)

 

in case you use an alcatel speedtouch usb modem, this post might be helpful for you. dunno if it will be a real help for your modem (in case it is the troublemaker) but taking a look won't hurt, i guess.

http://mandrakeusers.org/index.php?showtopic=16970

 

as i do not know your modem-type, nor the way you are connected, i need some info. does the modem work as a router? does it work with dhcp? if yes, try setting up a connection with a static ip, maybe that helps.

 

was the networkcard recognized by mandrake? were there any errors when "bringing up eth0" at boot? have you already used mandrakes network wizard? if yes, please post the contents of your /etc/sysconfig/network-scripts/ifcfg-eth0 file. what do you get when you type "ifconfig", "ifup etho" and "iptables -nvL" as root in a terminal?

 

These are the answers to your questions:

Result of ifconfig

lo Lien encap:Boucle locale

inet adr:127.0.0.1 Masque:255.0.0.0

adr inet6: ::1/128 Scope:Hôte

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:120 errors:0 dropped:0 overruns:0 frame:0

TX packets:120 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 lg file transmission:0

RX bytes:8690 (8.4 Kb) TX bytes:8690 (8.4 Kb)

 

 

Result of ifup eth0

 

SIOCSIFFLAGS: Function not implemented

 

 

Result of iptables -nlv

 

bash: iptables: command not found

 

Content of ifcfg-eth0

 

cat ifcfg-eth0

DEVICE=eth0

BOOTPROTO=none

NETMASK=255.255.255.0

NETWORK=10.0.0.0

BROADCAST=10.0.0.255

ONBOOT=yes

METRIC=10

Link to comment
Share on other sites

Hi

 

I was having almost the same problem but i got it fixed...

run drakconnect as root and configure it as ADSL connection.

Then open a terminal, su to root  and run this:

# service network stop

# ifconfig eth0 192.168.0.2 broadcast 255.255.255.255 netmask 255.255.255.0 gateway 192.168.0.1

# ifup lo

# ifup ppp0

 

it should do it. If you are ok with those come back here and i will explain to you how to make the settings permanent

 

I am sorry it did not work, this is what I got:

]# service network stop

Arrêt de l'interface loopback : [ OK ]

[root@localhost louis]# ifconfig eth0 192.168.0.2 broadcast 255.255.255.255 netmask 255.255.255.0 gateway 192.168.0.1

SIOCSIFFLAGS: Function not implemented

gateway: Host name lookup failure

ifconfig: `--help' gives usage information.

[root@localhost louis]# ifup lo

[root@localhost louis]# ifup ppp0

................TIMED OUT

Link to comment
Share on other sites

hi there and welcome aboard :)

 

in case you use an alcatel speedtouch usb modem, this post might be helpful for you. dunno if it will be a real help for your modem (in case it is the troublemaker) but taking a look won't hurt, i guess.

http://mandrakeusers.org/index.php?showtopic=16970

 

as i do not know your modem-type, nor the way you are connected, i need some info. does the modem work as a router? does it work with dhcp? if yes, try setting up a connection with a static ip, maybe that helps.

 

was the networkcard recognized by mandrake? were there any errors when "bringing up eth0" at boot? have you already used mandrakes network wizard? if yes, please post the contents of your /etc/sysconfig/network-scripts/ifcfg-eth0 file. what do you get when you type "ifconfig", "ifup etho" and "iptables -nvL" as root in a terminal?

 

These are the answers to your questions:

Result of ifconfig

lo Lien encap:Boucle locale

inet adr:127.0.0.1 Masque:255.0.0.0

adr inet6: ::1/128 Scope:Hôte

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:120 errors:0 dropped:0 overruns:0 frame:0

TX packets:120 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 lg file transmission:0

RX bytes:8690 (8.4 Kb) TX bytes:8690 (8.4 Kb)

 

 

Result of ifup eth0

 

SIOCSIFFLAGS: Function not implemented

 

 

Result of iptables -nlv

 

Chain INPUT (policy ACCEPT 0 packets, = bytes)

pkts bytes target prot opt in out source destination

then same with FORWARD & OUTPUT

 

Content of ifcfg-eth0

 

cat ifcfg-eth0

DEVICE=eth0

BOOTPROTO=none

NETMASK=255.255.255.0

NETWORK=10.0.0.0

BROADCAST=10.0.0.255

ONBOOT=yes

METRIC=10

Link to comment
Share on other sites

well, what i see here is that

1. you stil lhave not clarified if your modem acts as a router or not and

2. you do not have defined any ip adress for your comp.

 

lo Lien encap:Boucle locale

inet adr:127.0.0.1 Masque:255.0.0.0

adr inet6: ::1/128 Scope:Hôte

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:120 errors:0 dropped:0 overruns:0 frame:0

TX packets:120 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 lg file transmission:0

RX bytes:8690 (8.4 Kb) TX bytes:8690 (8.4 Kb)

this output only shows your loopback connection. but this

cat ifcfg-eth0

DEVICE=eth0

BOOTPROTO=none

NETMASK=255.255.255.0

NETWORK=10.0.0.0

BROADCAST=10.0.0.255

ONBOOT=yes

METRIC=10

shows that somehow, you should be connected through a router. 10.0.0.x indicates a router, just like 192.168.1.x. so you might try the aforementioned stuff from phazeman, but replace the 192.168.x values with 10.0.0.x values accordingly (x is for the number of your box, e.g. if it is the 3rd box on a network, it would be 10.0.0.3).

Link to comment
Share on other sites

Can you explain what to do when typing " ifconfig eth0 ..."  "returns SIOCSIFFLAGS: Function not implemented"

Happily I can still connect on Windows....

Thanks

 

i found this infor on the net:

 

"This usually indicates a hardware conflict with your ethernet controller. Run "ifconfig -a" and check the IRQ and I/O addresses used by the controller. Also, look at the contents of the files /proc/interrupts and /proc/pci to determine what IRQ and I/O addresses are in use on your system. Many ethernet and SCSI drivers cannot share interrupts under Linux. Your system most likely has an IRQ conflict.

 

To fix IRQ conflicts on PCI bus systems, you can often go into the motherboard BIOS setup and mark the conflicting IRQ as "Used by an ISA Device". This will force the motherboard to reassign the IRQ, often eliminating the conflict."

Link to comment
Share on other sites

I do not understand what this means, may be you will. These are the ifconfig-a / interrupts / pci I have.

ifconfig -a

eth0 Lien encap:Ethernet HWaddr 00:0D:87:DF:DC:28

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 lg file transmission:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Interruption:19 Adresse de base:0x6000

 

lo Lien encap:Boucle locale

inet adr:127.0.0.1 Masque:255.0.0.0

adr inet6: ::1/128 Scope:Hôte

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:64 errors:0 dropped:0 overruns:0 frame:0

TX packets:64 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 lg file transmission:0

RX bytes:4014 (3.9 Kb) TX bytes:4014 (3.9 Kb)

 

sit0 Lien encap:IPv6-dans-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 lg file transmission:0

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

 

cat interrupts

CPU0

0: 235987 IO-APIC-edge timer

1: 132 IO-APIC-edge i8042

2: 0 XT-PIC cascade

12: 7379 IO-APIC-edge i8042

14: 6714 IO-APIC-edge ide0

15: 4473 IO-APIC-edge ide1

21: 178 IO-APIC-level uhci_hcd, uhci_hcd, uhci_hcd, ehci_hcd

22: 2143 IO-APIC-level VIA8233

NMI: 0

LOC: 235944

ERR: 0

MIS: 0

 

 

 

 

cat pci

PCI devices found:

Bus 0, device 0, function 0:

Class 0600: PCI device 1106:3205 (rev 0).

Master Capable. Latency=8.

Prefetchable 32 bit memory at 0xd0000000 [0xd7ffffff].

Bus 0, device 1, function 0:

Class 0604: PCI device 1106:b198 (rev 0).

Master Capable. No bursts. Min Gnt=12.

Bus 0, device 9, function 0:

Class 0401: PCI device 1274:5880 (rev 2).

IRQ 17.

Master Capable. Latency=32. Min Gnt=12.Max Lat=128.

I/O at 0xd000 [0xd03f].

Bus 0, device 14, function 0:

Class 0200: PCI device 10ec:8139 (rev 16).

IRQ 19.

Master Capable. Latency=32. Min Gnt=32.Max Lat=64.

I/O at 0xd800 [0xd8ff].

Non-prefetchable 32 bit memory at 0xea001000 [0xea0010ff].

Bus 0, device 16, function 0:

Class 0c03: PCI device 1106:3038 (rev 128).

IRQ 21.

Master Capable. Latency=32.

I/O at 0xdc00 [0xdc1f].

Bus 0, device 16, function 1:

Class 0c03: PCI device 1106:3038 (rev 128).

IRQ 21.

Master Capable. Latency=32.

I/O at 0xe000 [0xe01f].

Bus 0, device 16, function 2:

Class 0c03: PCI device 1106:3038 (rev 128).

IRQ 21.

Master Capable. Latency=32.

I/O at 0xe400 [0xe41f].

Bus 0, device 16, function 3:

Class 0c03: PCI device 1106:3104 (rev 130).

IRQ 21.

Master Capable. Latency=32.

Non-prefetchable 32 bit memory at 0xea002000 [0xea0020ff].

Bus 0, device 17, function 0:

Class 0601: PCI device 1106:3177 (rev 0).

Bus 0, device 17, function 1:

Class 0101: PCI device 1106:0571 (rev 6).

IRQ 22.

Master Capable. Latency=32.

I/O at 0xe800 [0xe80f].

Bus 0, device 17, function 5:

Class 0401: PCI device 1106:3059 (rev 80).

IRQ 22.

I/O at 0xec00 [0xecff].

Bus 1, device 0, function 0:

Class 0300: PCI device 10de:0171 (rev 163).

IRQ 16.

Master Capable. Latency=32. Min Gnt=5.Max Lat=1.

Non-prefetchable 32 bit memory at 0xe8000000 [0xe8ffffff].

Prefetchable 32 bit memory at 0xd8000000 [0xdfffffff].

Prefetchable 32 bit memory at 0xe0000000 [0xe007ffff].

Link to comment
Share on other sites

i am not sure at all but maybe you should try setting your irq 19 to isa in your bios. when i watched your irq-settings, the only possible collision i saw was this one:

eth0 Lien encap:Ethernet HWaddr 00:0D:87:DF:DC:28

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 lg file transmission:1000

RX bytes:0 (0.0 B)TX bytes:0 (0.0 B )

Interruption:19 Adresse de base:0x6000

 

...

 

Master Capable. Latency=32. Min Gnt=12.Max Lat=128.

I/O at 0xd000 [0xd03f].

Bus 0, device 14, function 0:

Class 0200: PCI device 10ec:8139 (rev 16).

IRQ 19.

but i admit, some further help by someone else would be great. i am no geek, just an average user. :)

Link to comment
Share on other sites

Thanks, in the graphical tool to configure the computer, eth0 is said to be device 14. So both quotes are coherent (or not ??). But I will try.

In the bios set-up I can choose between PCI & RESERVED, I guess I have to take Reserved.

 

By the way Arctic don't tell me you are an average user, you are very helpful to me.

Link to comment
Share on other sites

Thanks Arctic.

I was unable to tweak the bios. It looks the built-in eth0 card is always given an IRQ>15 and in the bios I can only alter the setting for IRQ<16. So I disabled the eth0 card and replaced it by a PCI card same realtek RTL8129 chip. Again the IRQ went above 15. So in fact the eth0 is not up and running because a conflict

This is probably due to the fact that I bought a cheap ACER computer bundled with XP with which you only get recovery CDs in case you have a major crash but you do not get any support for the mother board....

So I took my PCI eth card and plugged it into my old computer, the one I assembled myself and on which I can tweak all settings. Of course eth0 was up and running and I got connected problemless. Furthermore an SB PCI 128 that I was unable to run on my Acer (even when disabling the built-in sound card) went back to the "old" computer and was running also.

Of course I am now frustrated that I am back on my old computer, but I have learned a lot in the excercise.

Any idea how to recover the "new" computer, I guess I will not be able to put it on a LAN anyway?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...