LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-25-2013, 03:02 AM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
In your GPRS USB Modem, what is the result of "ls -l /dev/ttyUSB0" ?


Hello,
for the reason I gave my modem for few weeks to a colleague (who cannot be contacted), I cannot check something. Can somebody give to me the result of the indicated command to me?
- for your PC with a GPRS Modem
- before dial in and after connection in the internet.
I would like to see how looks the "xwr" rights and if it change after pppd (or wvdial).
Background: I use mknod and would like to know how must be the chmod for my USB GPRS Modem; see http://linux.about.com/od/lsa_guide/a/gdelsa23t01.htm

Last edited by floppy_stuttgart; 08-25-2013 at 03:05 AM.
 
Old 08-26-2013, 07:10 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
until you get a better reply

I have an old usb modem that I don't use and have no usb-modeswitch installed ATM

when I first plug it in, its a flip flop so seen as a cd, then I eject its cd "state" then I can use your command
--on a debian system

Code:
$ ls -l /dev/ttyUSB0
ls: cannot access /dev/ttyUSB0: No such file or directory

$ eject sr1

$ ls -l /dev/ttyUSB0
crw------- 1 root root 188, 0 Aug 27 07:58 /dev/ttyUSB0
usb-modeswitch does similar things but you may also need to know
Code:
ls -l /dev/ttyUSB*
crw-rw---T 1 root dialout 188, 0 Aug 27 07:59 /dev/ttyUSB0
crw-rw---T 1 root dialout 188, 1 Aug 27 07:59 /dev/ttyUSB1
crw-rw---T 1 root dialout 188, 2 Aug 27 07:59 /dev/ttyUSB2
for my device, the actual internet was thru usb2

############
rather than a mknod command you could consider an udev rule, but you will need to wait until you know your specific details

here is a rough guide from the past

http://whirlpool.net.au/wiki/?tag=linux_U6T

this wiki was editted by another user, mine is the sidux method
but usb-modeswitch may have that setting now?
 
  


Reply



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
/dev/ttyUSB0 + "broken pipe": how to force re-discovery? kaza Linux - Hardware 2 12-09-2011 02:13 PM
termios /dev/ttyUSB0 "resource unavailable" nanoo Programming 4 07-14-2009 09:53 AM
HOW TO connect HUAWEI ETS1201 FWT modem "ttyUSB0 is missing" saka Linux - Newbie 3 04-27-2009 01:14 PM
SynCE & ppc-6800 (Mogul): I get no /dev/ttyUSB0 & "Hal reports no devices connected" lumix Linux - Hardware 3 07-03-2008 10:03 AM
Writing to "/dev/usb/hiddev*" and to "/proc/bus/usb/00B/00S" throw an arror EI stpg Programming 0 07-14-2004 05:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:08 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