LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-14-2007, 06:03 PM   #16
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65

No idea about the error#8.

Are you doing as I mention in post #14?

Brian
 
Old 02-16-2007, 04:10 AM   #17
madwac
Member
 
Registered: Jul 2006
Distribution: kernal 2.6.20-1 2948.fc6 LC2210D
Posts: 48

Original Poster
Rep: Reputation: 15
Didn't work. I even went back to my original login account because I remember typing 'ls -l /dev/ttyS*' and getting "lrwxrwxrwx 1 root 10- 2006-07-10 09:17 /dev/ttySLO->/dev/pts/1" Now when I run that command as root I get "no such file or directory" This can't be good. Did I somehow move the modem to a tmp file?
Anyway I'm attaching the output of what you told me to run along with some of the e-mail certified sent me so you will have some idea of what they had me do. Could it be that because I've created tmp files in two different accounts, its trying to write to both? I'm off to a chess tournament this weekend. Back Monday. I hope you don't desert me!
Found a modem on /dev/ttySL0.
Modem configuration written to tmp.wv.
ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
[root@localhost ~]# modprobe snd_intel8x0m
[root@localhost ~]# /usr/sbin/slmodemd -alsa
ALSA lib pcm_hw.c:1155snd_pcm_hw_open) open /dev/snd/pcmC1D0p failed: Device or resource busy
error: alsa setup: cannot open playback device 'hw:1': Device or resource busyerror: cannot setup device `hw:1'

Here are some emails:
> > Thank you for your request. Can you first check that you're modem is
> > currently working. Please type the following in a terminal:
> >
> > wvdialconf tmp.wv
> >
> > This will write details about the modem to the file tmp.wv You should
> see a
> > line with "Found a modem on /dev/ttySL0." towards the end of the command
> > output. Please edit tmp.wv with your ISP settings. e.g.,
> >
> > Modem Type = Analog Modem
> > Phone = 5551234
> > Username = psyduck
> > Password = ducks
> >
> > You may need to comment "Modem Type = Analog Modem" by using a semicolon,
> ";
> > Modem Type = Analog Modem", if get very slow speeds or unable to connect
> to
> > your ISP. Once edited, save the file and type following to connect to
> your
> > ISP.
> >
> > wvdial --conf tmp.wv

> >
> > If the modem connects successfully, please check that you are able to
> browse
> > the web as wvdial should automatically setup network routing.
> >
> > The snd_intel8x0m driver module automatically loads at boot and should be
> > loaded if you found a modem when using wvdialconf, you can confirm this by
> > typing "lsmod | grep intel".

On the test system I have next to me, adding the user to the group owning the
modem device didn't help, neither did adding the user to the root group help.
Got the modem working under a normal user after setting the permission on
/dev/pts/1 to 777. Please try typing the following as root (after the pound
sign, the lines w/o pound sign is an example of the output):

# ls -al /dev/ttySLO
lrwxrwxrwx 1 root root 10 2006-07-10 09:17 /dev/ttySL0 -> /dev/pts/1
# chmod 777 /dev/pts/1

It may be different on your system for where /dev/ttySL0 is linked to, on my
system it's linked to /dev/pts/0 so please change the permission (chmod) on
the correct device for your system.

Try typing "wvdialconf tmp.wv" as a normal user and let us know your results.

Just remove the files and start over. A "rm -f *tmp.w*" should work fine. I
assume you are doing all of this from a command prompt, is this correct? When
Gilbert suggested using the syntax '--config=/dir/to/tmp.wv', he did mean for
you to type this verbatim. He was trying to tell you to insert the path
information into the command. So, to create a config file you should use
wvdialconf like this: "wvdialconf myWvdial.conf". This will create a
configuration file called myWvdial.conf. Now edit this file. I suggest using a
simple text editor like nano or pico. You want to insert a phone number, your
username and your password. The number by itself without any other characters
will work great. Also, make sure to remove the < > characters and just have
the your information in the provided fields. You can now try to dial out.
Something like this should work:

"wvdial --config myWvdial.conf" or "wvdial
--config=/full/path/to/myWvdial.conf
 
Old 02-16-2007, 04:40 AM   #18
madwac
Member
 
Registered: Jul 2006
Distribution: kernal 2.6.20-1 2948.fc6 LC2210D
Posts: 48

Original Poster
Rep: Reputation: 15
history

A couple of clues:
A linux journal article about wvdial told me to create a symbolic link for modem. In my history in the dial out group I was trying to create I keyed in ' ln -s /dev/ttySLO /dev/modem '
That could be a goof.
Also another guy online told me to "copy your Mywvdial.conf from root to home directory:
'cp /Mywvdial.conf /home/jack ' so maybe that's goofing me up.
When I type as root 'ls -l /dev/ttyS* ' and get "no such..." is it because somehow the modem file has been moved from root to home? I have been getting that "device or resource busy" reply since July. Very frustrating.

Last edited by madwac; 02-16-2007 at 04:43 AM.
 
Old 02-16-2007, 04:57 PM   #19
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
The speed 460800 is way to high. It should be 115200.
What I am going to do is install the driver on my notebook and see if it may have issues with new kernels or something. This will happen over the weekend sometime.

Brian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
my internet connection disconnects my network connection? emre polat Linux - Networking 2 12-19-2006 01:11 PM
Internet connection timeout on Fedora Core 5 using USB connection mike1111 Linux - Networking 0 07-23-2006 09:44 PM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 11:48 AM
i can get internet connection in windows but in LINUX there is no connection ruzvay Linux - Networking 2 06-08-2004 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration