Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
I want to use a Pentium 150 Mhz / 48 MB of RAM as a router for sharing
my Internet Connection between my home computers. Everything works
fine for web browsing, email reading but the Internet connection
stalls as soon as I put some load by starting some big downloads.
In this case, the solution is to connect to the router , do an
ifconfig down on the interface associated to the modem followed by a
restart of the dhcp client and the connection is back to life. The
system logs are completely empty : no error messages at all.
After updagrading all my software components to the latest version, I
decided to take a look at the hardware. It turns out that if I use a
PIII 500 MHz based system as my router, everything works fine even
under heavy load.
The router is basically made of four components : the main board, the
PCI USB board, the USB modem and the PCI Network card.
I installed the USB board & modem as well as the network card into the
PIII and reran a test : everything still works fine. Using 'top' on
the P150 Mhz, I see that the processor is used less that 10% at
full load and total memory consumption is around 12 MB.
I know now for sure that my problems are related to my hardware
configuration : but I have no clue on what to do next. I assume that a
P150 MHz is powerfull enough to run the router. For info, the DSL
connection is 2400 DL / 384 UL while the LAN is 100 MBits.
The distribution I use is a floppy based Linux From Scratch based on
2.4.24 kernel, uclibc 0.9.24 and busybox 1.00 pre 7.
I tried playing around with the latency of the PCI bus but with not that much success.
I am totally out if idea so any help would be appreciated.
Many thanks in advance.
Regards,
Tootoon
For sure your CPU is powerful enough. I've used a 33MHz 486 in the past. I would be suspicious of that USB board tho'. Any interesting error messages in /var/log/syslog or /var/log/messages? Anything funny in /proc/interrupts?
Just guessing here. No expertise at all with USB devices.
When the connection stalls, there is not a single error message in any log file.
I looked into /proc/interrupts and found out that the ethernet and usb board where sharing the same IRQ but isn't what PCI is meant for ? Anyway, I moved the network card to another PCI slot : now, all the entries in /proc/interrupts have a single IRQ. Unfortunately, the problem remains: a few minutes after I start a heavy download, the connection stalls, ie I get no reply from the Internet. In this case, the solution remains "ifconfig eth1 down" followed by a "udhcpc -i eth1".
Something positive is that the network card is still working perfectly as I connect to my box through telnet.
While trying to identify my problem, I used the USB board on my PIII machine and it really worked perfectly.
I am suspecting a problem between the motherboard (or the BIOS (Award Modular BIOS v4.51PG)) and the USB board as in case of breakdown, I only need to shut down the interface associated to the USB.
Thanks for your help !
Regards,
What about basic networking - duplex/speed satings, what does netstat -i report on the router? If there are many erros accumulate over time it might "hang" your connection - troubleshoot by ensuring the cabling. speed, duplex, etc is intact. On the hardware side of the setup - check the memory with memtest86 http://www.memtest86.com/#download0 - good luck.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.