Dear Bjorn, thank you very much for your hints. I have done the automatation and I am happy in using the modem. Today, I installed gfax (in association with efax and an other file), but I am in trouble whether the 11c11040 modem is a faxmodem? I am asked for the modem port [modem, ttyS0, ttyS1, ttyS2, ttyS3, cua1, cua2] and for the modem typ [ATT (Dataport, Paradyne), Motorola (Power Modem, 3400 Pro...), QuickComm (Sprint II), USR (Courier, Sportster), Mulit-Tech (for bit reversal), User Defined]. Do you have a good suggestion what is to do here? With best wishes, Robert Bjorn Wielens wrote: > > Hi Robert, > Yes, some of this stuff can be automated. > For example, there is a line in one of the > /etc/sysconfig/ files (file is called 'kernel', I > think) that lets you list additional modules your > kernel should load on boot. You can add agrmodem and > agrserial there. > > It is not necessary to do the 'ln -s' commands every > startup, you can just edit your dialler's config to > change to the /dev/ttyAGS3 port... so in > /etc/wvdial.conf, it would read 'Modem=/dev/ttyAGS3' > as opposed to pointing to one of the links you create > with 'ln -s' > > If you're particularly adventurous, you might want to > write an init script that loads the drivers and > creates the symlinks for you. (see > /etc/init.d/skeleton for a bare-bones sample of an > init script) > > With regards to eth0, it will need to be brought down > every time you want to dial. You could perhaps write a > small 3-line bash script that does this, then dials, > and when you press a certain key combo, disconnects > the modem and brings eth0 back up. > > If my memory serves correctly, the following should do > it: > > #!/bin/sh > sudo ifconfig eth0 down > wvdial && sudo ifconfig eth0 up > > since && tells bash to wait for wvdial to finish > before running the following command. > Alternatively, you could be lazy and just yank the > network plug whenever you need to use the modem :) > > Bjorn. > > > --- marigold7@xxxxxxxxxx wrote: > >> Dear Bjorn, >> >> thank you for your hints. I am not experienced in >> using >> firefox. I have >> overseen the option for unchecking 'work >> offline'. Now my modem works >> and I am writing you with my >> new laptop. >> >> May I ask you one more question? Do I really need to >> start >> with all the >> following commands: >> $ sudo modprobe agrmodem >> $ sudo modprobe agrserial >> $ sudo ln -s /dev/ttyAGS3 /dev/ttySAGR >> $ sudo ln -s /dev/ttyAGS3 /dev/modem >> >> $ ifconfig >> $ sudo ifconfig eth0 down >> >> Typing requires some time and this would be the case >> for >> every modem >> usage. >> >> Can I put all the commands into one line? Or is it >> possible >> to modify >> any script so that all this stuff is loaded at the >> beginning? >> >> With best wishes, Robert >> >> >> >> Unbegrenzter Speicher, Top-Spamschutz, 120 >> SMS und eigene E-MailDomain >> inkl. >> > http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/index.html >> >> > > > > __________________________________________________________________ > Be smarter than spam. See how smart SpamGuard is at giving junk email the > boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to > New Mail today or register for free at http://mail.yahoo.ca > > -- View this message in context: http://www.nabble.com/Re%3A-AW%3A-AW%3A-11c11040-modem-with-agrsm-ubuntu8.04.1-2.6.24-19-generic.tar.gz-and-othre-kernels-tp18841034p18982562.html Sent from the Linux Winmodem Support - Discussion mailing list archive at Nabble.com.