Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!!!
Speedtouch 2.6.4 ... why don't you want to work!!?
Relative newbie with linux, running debian sid.
2.4.22 -> modem works ok...
tried to pass to 2.6.4... and no modem fun to be had.
I have tried different methods (mostly while 2.6 is running) and nothing works
1. The kernel module for the modem, do i include it when i compile 2.6.4 ?
2. Speedbundle package (tarball). Uncompressed, but make returns an error cos i have no Rules.make in /usr/src/linux. (i have changed the scripts etc...)
3. Been to Lea-Linux (french help site) but their methosd dont want to work either.
4. D/Loaded (zinXP) latest speedtouch .deb, dpkg'ed it under 2.6 and 2.4... no joy
when i run modem_run -f /usr/shape/speedtouch/mgmt.o -> zsh returns an error 255......
what is going on???
i think i've tried all the different techniques posted on the net, but have probably messed up somewhere and it blocks...
(btw, both LEDs are green...)
First, with a 2.6 kernel alter the source before you compile the kernel http://www.mail-archive.com/speedtou.../msg05299.html
Second, do not build the speedtouch driver into the kernel, do not build it as a module. Just say no. Use the user space drivers.
Third, the speedbundle package doesn't work with a 2.6 kernel, use speedtouchconf http://speedtouchconf.sourceforge.net/
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
Code:
/* Logging variables */
static FILE *log;
#ifndef USE_SYSLOG
#define LOG_NAME_FORMAT "/var/log/pppoa3-modem%d.log"
static char *log_file;
#endif
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
Code:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.