Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm currently running kernel 2.4.18. I connect to the net through alcatel speedtouch and am using roaring penguin. I live in Portugal so the ADSL connects through PPPoE bridged protocol. I've been trying to connect to the net using the 2.6.X kernel but haven't been quite successful. I correctly upload the firmware to the modem but when I type the 'adsl-start' command it always gets timed out.
Since i'm using the same configuration on 2.6.x that i use in 2.4.x I'm supposing that something's changed that unables roaring penguin software to correctly connect.
Anyone having the same problem?
Has anyone successfully connected to the internet with a alcatel speedtouch using kernel 2.6.x?
Its possible that the "old" PPPoX stuff is no longer supported in 2.6. Around the end of 2.4, the kernel learned to do its own pppox with a current version of pppd. In the kernel menuconfig, under Device Drivers -> Networking Support, enable PPP, and in the new options there is PPP Over Ethernet. (looking now, it _says_ it should support the roaring penguin thing too... odd, if you have this enabled, I don't know what your problem is.)
Once thats enabled, install the latest pppd, and look in its documentation directory for the sample pppoe call file. It should only take minor editing, after which you can then run "pppd call filenamehere"
I've tried the script suggested above but it won't work. It's been done for kernel 2.4.x since in kernel 2.6.x the UHCI module is no longer called usb_uhci but uhci_hcd. Anyhow i've tried running it after modprobing the uhci_hcd module. The firmware loading is OK but the connection always fails.
I've read the help on the pppoe kernel module and saw the roaring penguin suggestion. Anyway, it doesn't work. I currently have the 2.6.3 kernel and the 2.4.25 kernel. I use a simple script which i've made to connect to the net. When i call it using 2.4.25 kernel o get ....Connected, but on 2.6.3 i always get .....................TIMED OUT
Did you try altering the kernel source as suggested http://www.mail-archive.com/speedtou.../msg05299.html ? As for uhci, it works for me with the 2.6.3 kernel, but I build it into the kernel. Why make it as a module? You need it to connect to the internet. What use is a computer without the internet?
Well, the script didn't do the trick, but the kernel code comment proved quite worthy.
After commenting that line in the usb.c file and rebuilding the kernel, my 2.4.x script worked once more, yuppiiiiiiiii!!!
The usb.c file no longer contains the code required to comment out to fix the alcatel usb adsl modem problem.
Any takers on a solution? I know it's not a stable kernel yet, but it will
be soon, and yet again *sigh* us alcatel users are going to get shafted.
I did notice another problem with the 2.6.6 series, you now have the option to select 4 or 8k kernel buffers. 4 kills the Nvidia driver, use 8. The newer kernels will soon be migrating totally to 4, and nvidia have announced that there is a new driver in the pipeline to address this issue.
Solution - alter the code in the driver. If you use the current speedtouchconf tarball it uses the speedtouch-1.2-sgp.tar.gz tarball. If you untar that it will make a speedtouch-1.2-sgp folder, if you go into that and find the file speedtouch-1.2-sgp/src/pppoa3.c there's some code which looks like this
/* Logging variables */
static FILE *log;
#define LOG_NAME_FORMAT "/var/log/pppoa3-modem%d.log"
static char *log_file;
static int verbose;
static int alternate_ep = -1; /* historically wasn't set */
/* Named pipe filename */
#define PIPE_NAME_FORMAT "/var/run/pppoa3-modem%d.pipe"
static int use_pipe;
static int pipe_fd;
See the line with the /* historically wasn't set */? Delete the minus sign from infront of the 1 so it looks like this
static int alternate_ep = 1; /* historically wasn't set */
then open a terminal and cd into the speedtouch-1.2-sgp folder and
and it should work as normal. At least, it's working for me now with a 2.6.6-rc1 kernel and an old green Speedtouch. I'll need to test it some more to see if there are any problems. I'll go upstairs and try it with a purple Speedtouch 330 in a bit. Good luck.
Edit - I knew there was a reason I didn't like this solution. It's not so reliable. I've had to increase the sleep time in my dial script to 15 seconds as it quite often fails to connect when I reboot so it is a bit of a backward step but it's not the end of the world.
Edit (again) no it's not the sleep time that's the problem it's the pppd call adsl part that's taking longer. It seems to be working though
Last edited by Andrew Benton; 04-18-2004 at 05:20 PM.
Oh great, so now i have to re-install the speedtouch stuff. Where before all i had to do was edit the usb.c on a new kernel.
This makes me nervous..... I did'nt mind editing usb.c everytime i recompiled my kernel.. But the speedtouch i allready have working, and god i remember the hours i spent getting it that way. Ok maybee i know a hundred times as much about linux as i did back when i was a noob, but that modem scares me. I remember the late nights getting it to work in the first place lol, at least recompiling kernels i could go back a version and have working internet, if i stuff the speedtouch config up, i'll have no net access whatsoever
Anyway, cheers for the solution, i'll give it a whirl when i can pluck up courage. Will repost and let you know how it went.