PDA

View Full Version : Modem problem



Ste
06-16-2003, 12:48 PM
I have just done a HD install of Knoppix and I am having trouble with my modem. Its an Intel536EP 56K modem and I have the correct Linux drivers for it and have managed to install them as root. I can use the modem then as root but as soon as I change to Knoppix user I can't access the modem device. If I then switch back to root, I can't use the modem on root anymore!

It is really frustrating as it means I can only use my modem on root and everytime I want to use it I need to install the drivers again.

How can I get it to save the fact that I have installed the drivers and want to use them on user as well as root.


Thanks
Ste

rickenbacherus
06-16-2003, 03:52 PM
mcedit /etc/group

Add your username to the modem group. Not sure I understand why you have to reinstall drivers each time. They should still be there.

Stephen
06-16-2003, 06:19 PM
Or adduser < username > dailout as root in a console window logout and login back in for the changes to take effect. Some other groups you may want to add yourself to audio cdrom floppy video src if not already a member check with groups or id in a console window.

Ste
06-16-2003, 07:09 PM
I will have a look at dialout, I don't seem to have a modem group. Is this the problem with having to reinstall the drivers each time I want to use the modem?
Alteratively is there a way I could automatically make linux run the install script for the modem drivers on bootup, while file would I need to edit? the sort of autoexec.bat of the Linux world...

Ste

Ste
06-16-2003, 07:47 PM
I am allready in the group dialout and I still have to install my modem drivers everytime I want to use them. They do then work for root but in any user mode I get (using eznet as my ISP needs it):

Failed to open /dev/modem: Permission denied
Freeserve: pppd failure at 07:39PM Mon Jun 16, 2003
knoppix@ste:~$

using the KPPP application it just cant access /dev/modem on connect or the query modem.

Ste

MST3K
06-17-2003, 12:53 AM
I installed Knoppix 06-06-2003 last night (at a very late hour)... and I couldn't believe my eyes when I read this topic... I'm having almost the exact same problem as ste. I have an Intel536ep modem as well. I can compile the drivers and install them when I log in as "knoppix" (after an hd install), but /dev/modem does not respond to any query or attempt to dial.

I tried logging in as root and re-installed the drivers. At that point, my modem responded to querying and even dialed my ISP and connected. BUT no program I used would make use of the newly available ppp0 connection...

I really want to use Knoppix to install a Debian system on my hard drive, but unless I can get my modem to work I'm not going to use it. The 536ep driver requires kernel source be installed, which as far as I know IS available after the hdinstall of Knoppix. I think the driver functions just fine, but I'm not smart enough to troubleshoot beyond that point. I haven't followed any of the other posts in this category because they seemingly apply to a situation in which the modem functions properly in root.

Thanks in advance to anyone who can help me.

Stephen
06-17-2003, 01:13 AM
I am allready in the group dialout and I still have to install my modem drivers everytime I want to use them. They do then work for root but in any user mode I get (using eznet as my ISP needs it):

Failed to open /dev/modem: Permission denied
Freeserve: pppd failure at 07:39PM Mon Jun 16, 2003
knoppix@ste:~$

using the KPPP application it just cant access /dev/modem on connect or the query modem.

Ste

That looks like a permission problem what does the output of ls -l /dev/modem show. A quick google search (http://www.google.com/linux?hl=en&lr=&ie=ISO-8859-1&q=Failed%20to%20open%20/dev/modem%3A%20Permission%20denied&btnG=Google+Search) came up this page (http://www.linuxplanet.com/linuxplanet/tutorials/3206/17/) look at part 16.14.

Ste
06-17-2003, 11:16 AM
Heres what I've done to get my modem working after getting help from the #knoppix IRC chatroom.
Do this first bit in root.
After you install the drivers you should have 2 files called 536ep.o and 536epcore.o, make copies of these files in /lib/modules/2.4.20-xfs/kernel/drivers/net. After doing that if you type modprobe -l in Konsole you will get a list of .o files and the two files mentioned above should be listed. Next you need to edit in a text editor the file /etc/modules . This is just a list of other modules which will be launched when Knoppix boots. Put on two seperate lines 536ep and 536epcore (emiting the .o). If you restart the computer now, the drivers should be loaded automatically and root should be able to connect without having too install the drivers each time.

To make Knoppix user work type in the Konsole (still as root) "chown root.dialout /dev/536/ep" and then "chmod g+w /dev/536ep". After restarting again the modem should be accessable in users other than root.

For ppp0 problems try using eznet, that might work. It works with me on a connection that didnt work with KPPP. http://www.hwaci.com/sw/eznet/

I hope this all helps.

Ste

MST3K
06-18-2003, 04:31 AM
Thanks for replying... I'm in Windows again at the moment, but I'll try out your directions as soon as I can. From what I read of them, I think it's going to work.

rickenbacherus
06-18-2003, 05:17 AM
I don't seem to have a modem group. Is this the problem with having to reinstall the drivers each time I want to use the modem?

Ah well sometimes I just take a guess ya know. It's been a while since I've used a modem (good thing too eh?). :P


Or adduser < username > dailout as root in a console window

Very nicely put-Thanks for taking it easy on me Stephen. :D