LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   USB Modem Installation problem in SUSE 10.2 (https://www.linuxquestions.org/questions/linux-newbie-8/usb-modem-installation-problem-in-suse-10-2-a-522193/)

Frame360 01-23-2007 07:11 PM

USB Modem Installation problem in SUSE 10.2
 
Hi,i'm having problems again with my newly installed suse 10.2, now with my Compaq 56K usb fax modem, suse inmediately recognized the modem, then in the .conf archive of my modem, i entered the phone number to dial, the user and the password. The file name is wvdial.conf, then i copy the vwdial.conf archive to my /etc directory and finally i execute the command wvdial, but every try i get this message:

--> WvDial: Internet dialer version 1.54.0
--> Cannot open /dev/ttyACM0: Device or resource busy
--> Cannot open /dev/ttyACM0: Device or resource busy
--> Cannot open /dev/ttyACM0: Device or resource busy

Early in the morning everything was working fine, but i rebooted my computer in the afternoon and when i tried to connect again i got the error message. Now my question is, what should i change or input to gain access again? or if anyone knows a good tutorial for usb modem installation on suse gnome it would be of great help.

Thanks in advance, Frame360

Junior Hacker 01-23-2007 08:00 PM

Did you install/compile drivers for the modem?

Most Linux distros do not supply pre-compiled modem drivers as the source is proprietary and Linux distros are GPL.

EDIT: sorry just noticed "everything was working this morning", watch for my next post

Junior Hacker 01-23-2007 08:06 PM

During initial setup of your modem, did you create a symbolic link from /dev/ttyACM0 to /dev/modem. If your distro uses UDEV, symbolic links disappear upon re-boot.

Also check to see if you have a file in /etc called modprobe.preload or similar which should contain an entry for the .ko driver module for your modem.

Biggest question I need answers to are:
What steps did you take in setting up this modem?
Did it actually have you surfing on-line before?

Frame360 01-24-2007 10:16 AM

Trying to obtain privileges for kppp or wvdial
 
Thanks for the help JuniorHacker, i just found my mistake, i accidentally changed the Baud number in the wvdial.conf archive used for the default settings of my modem, and when i checked it this morning it had like 3 extra zeros hehe. Now i'm having another trouble, i want my users to have access to wvdial, i've read some tutorials and all of them said: "create a group called dialout, add yourself to the group and change a ton of permissions for the /dev/ttyACM0 and your .conf archive, and also change the SUID" i've tried all of them without success. Then i started to try with the kppp, as root i can use both commands perfectly but with my users now in kppp i got this message on screen every attempt to connect:

Could not read network connection list.
/home/dryclean/.DCOPserver_sucursal1_0

and this one in my terminal:

Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
kdeinit: Aborting. No write access to '/home/dryclean/.ICEauthority'.

So, my questions are: Is there a way to gain access with unprivileged users to the wdial or the kppp? and about the error messages above, How can i fix them?

Thanks in advance again, Frame360

Junior Hacker 01-24-2007 03:11 PM

Sorry, just woke up.

Did you download and use a small tool called scanModem from http://linmodems.org/

If not, click on highlighted scanModem on that page it will take you to another page, again, keep clicking on highlighted scanModem until download window appears. You may also want to read as you go to find instructions on how to use it. Or if you prefer, download it to your home directory and go there within terminal and issue these three commands:

gunzip scanModem.gz
chmod a+x scanModem
./scanModem

After a few seconds your prompt will re-appear, now there should be a folder named "Modem" in your home directory, in there is a ton of useful information regarding setting up modems. It also has links to linmodem maintainers who can help also, links to all kinds of things/places.

I have never seen a case where a user could not use kppp, but then I opt to use wvdial first in most cases, only in the Fedora 6 I'm in now, is the first time wvdial does not work (tried a 100 different installs with no success). I have no SUSE experience also.

I have also seen in the past, probably in one of the documents produced by scanModem, the command for permission changes for wvdial. I'm looking around now and will eventualy find it and post it if I do not see a post from you saying you got it straightened out.

Frame360 01-26-2007 01:57 PM

Following your advice!!
 
Thanks JuniorHacker!! i've finally defeated monster kppp and my users are allowed to use the command, so i'm surfing again and with no problems at all. Just one more thing, i'm really interested in the document you talked about regarding the posibility to allow users to the wvdial, so if by chance you find it, i would be grateful if you notice me about it, if you don't find it don't worry i'll keep searching for it, thanks again and see you soon.

Frame360

Junior Hacker 01-26-2007 03:18 PM

OK,

I know the maintainers at linmodems.org will mention it to people who contact them to resolve their problems. At the linmodems.org site is a highlighted link called "archives" in the first sentence on the web-page, through that link a person can view all cases that were discussed and in some of those cases is where the maintainers mention the command for wvdial permissions. One might want to look for a case with wvdial in the title. If I beat you to it I will post it.

Junior Hacker 01-26-2007 03:58 PM

Try some of these suggestions:

http://wiki.archlinux.org/index.php/...al_with_wvdial

One thing I found for sure is the directory you need to change permissions is /usr/bin/wvdial


All times are GMT -5. The time now is 03:46 PM.