LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   SAGEM Modem and KPPP under 9.1 (https://www.linuxquestions.org/questions/mandriva-30/sagem-modem-and-kppp-under-9-1-a-87415/)

glennmsmith 08-30-2003 04:25 PM

SAGEM Modem and KPPP under 9.1
 
Aaaaargh!!!!
I've installed Mandrake 9.1. All very nice. I'd like to connect to the internet, not very nice :o(

I use Tiscali Broadband and have a SAGEM Fast800 modem. Mandrake 9.1 sees the modem (well, when I go into Mandrake Control Centre and config network it detects it.

Problem is, I need to dial a telephone number in order to connect to Tiscali in the UK (using PPP), so I guess KPPP is the thing to use. But which device do I use? /dev/modem doesn't exist.

I've tried installing the latest EAGLE driver thinking that would install some sort of device, but while the driver appears to install OK, I'm still left without /dev/modem, and I'm stuck!!!

HELP! I've been on this ALL DAY. Every time I try to use Linux I just keep hitting these types of problems, and always end up dumping it and reluctantly going back to Windows. Surely this thing is a common thing to do... so why it is so hard????

iggy_mon 08-30-2003 08:59 PM

hmmm... i saw this before. it seems that /dev/modem was not linked to the serial port. /dev/ttyS0 (for com 1, /dev/ttyS1 for com 2, etc). either create /dev/modem and hard link the serial port (what ever one you need) to /dev/modem OR setup kppp to use /dev/ttyS0 directly. good luck.

--cheers

(google search for more info if needed)

glennmsmith 08-31-2003 04:10 AM

The modem is a USB port (bus 3 I think), so what would I link /dev/modem to for this?

iggy_mon 08-31-2003 09:09 PM

usb modem?! d@mned if i know! lmao. anybody out there know the right answer for this gentleman?

--cheers

glennmsmith 09-01-2003 01:19 AM

Cheers Iggy

I'm away for a week now, but if anybody can help me for when I get back.... PLEEEEEASE!!!!!!!

kundor 09-01-2003 02:42 AM

look around your /dev/ directory. For instance, maybe it's hidden under /dev/usb somewhere?

when you've found it, become root, and type
cd /dev
ln -s usb/(wherever the modem file is) modem

A quick google search suggests:
"The devfs names for these are: /dev/usb/tts/0, /dev/usb/tts/1, etc. For many modems they are /dev/usb/acm/0, etc. (in devfs notation). For more info see the usb subdirectory in the kernel documentation directory for files: acm and usb-serial."

So, for example, if you see a file at /dev/usb/tts/0, you could type (as root)
cd /dev
ln -s usb/tts/0 modem

That will create /dev/modem as a link to the driver file.

mikezieg8 09-01-2003 11:00 AM

Hi,
Did you download all 3 CDS? Did you buy the package with 2 CDs along with the Linux Format magazine? I had to get the 3rd Cd from a friend in order to get connected to the internet. I am a newbie to Linux so I don't know much.

Mike

glennmsmith 09-05-2003 12:41 PM

Right, back from my hols..

Yes, I did download all 3 CDs, and have installed kernel-source which I need in order to compile the eagle driver.

In /dev/usb there is only lp0 mentioned (my printer I guess). I found somewhere that you need to run (as root):

mknod /dev/usb/ttyACM0 c 166 0

and when I do this, I see ttyACM0 in the list of devices in kppp, but this doesn't work (doesn't detect a modem on this device).

Maybe the eagle driver installs a specific device? Don't know where though...

SURELY this has to be EASY??? I REALLY REALLY REALLY want to enjoy using Linux, but I've fallen at the first hurdle as usual... :(

mikezieg8 09-05-2003 03:44 PM

If I remember right I modified a file called "/etc/sysconfig/network-
> scripts/ifup-ppp". I added a line at line 7 that read:
>
> ------ snip -------
> touch /etc/resolv.conf
> -------------------

I am running a serial Modem.

Mike

guest 10-19-2003 01:27 PM

If you haven't fixed your problem...

The eagle driver ( at least the one I use ) puts the modem as an ethernet interface, so try ifconfig, and see if there are any extra eth devices. It also creates /proc/drivers/adimodem (on the newer driver versions) or /proc/adimodem on older ones. If the modem is working OK then this file will read "modem is operational" or similar.
Depending on your service provider you may need to edit /etc/analog/??conf to get this working. The way I ended up hunting down the necessary values was to install the modem on a Windows machine and then look to see how it was installed there.
The stupid windows driver requires you to press some weird key-combination to see the setup, and I can't remember what it is. Which is what I was searching for when I ended up reading this thread....

PPP then uses pppoe or pppoa (find out which from ISP, or from a windows installation), instead of a device. That is, pppd needs an option looking like
pty "/usr/sbin/pppoe -I eth0"
although I don't know how you would do that on mandrake.

If you know any french, there are some tips on http://eagle-usb.fr.st/ - can also find links to scripts and stuff.

best of luck
Charlie


All times are GMT -5. The time now is 08:52 AM.