Ubuntu Networking :: Wvdial - Cannot Open TtyUSB0 No File Or Direcotory?
Jan 23, 2011
im running a wireless modem under ubuntu (10.10) now, when i first plug in the modem, and run the command wvdial everything is OK. BUT if i plug out the modem and try to plug in again and run the 'wvdial' command i can the error:
Code:
"wvdial: cannot open ttyUSB0: no such file or directory.
2) Then I run wvdial command but getting following o/p
--> WvDial: Internet dialer version 1.60 --> Cannot open /dev/modem: No such file or directory --> Cannot open /dev/modem: No such file or directory --> Cannot open /dev/modem: No such file or directory
I use a wireless 3G card via wvdial and was wondering how could i possibly share it via my laptops wireless with WPA2. I want to be able to connect a second laptop I have and my iPhone via wifi.
I have a couple of questions for anybody willing to answer them. I have a GSM modem with a t-mobile SIM card that I am currently trying to use to connect to the Internet. I am using Lucid amd64 machine.I have been running wvdial with a baud rate of 115200 with much success getting the output below:
Code: sudo wvdial --> WvDial: Internet dialer version 1.60
I have BSNL EVDO usb modem and I use wvdial to connect to internet in my Ubuntu 10.04.I want to share my internet over wifi so I can use this on my wifi phones. I searched all over and actually ended up here.
I've Alcatel X220 cellular modem and I'm connecting via wvdial (Is there anyone who know how do I connect via NetworkManager?). when I'm connecting via the wvdial Evolution and pidgin won't connect to the internet. It's look like they like the NetworkManager and won't connect via other way.
I am trying to connect to Internet using Wavecome modem with Airtel GPRS connection. I am able to successfully connect and browse the Internet using wvdial. But if I use pppd, I am getting the error message as "LCP Terminated by peer".
The exact error I am getting is pasted below. [root@pscu1320 ppp]# pppd call gprs-wavecom GPRS modem init: press <ctrl>-C to disconnect Wakeup Modem
I post here wanting to know if it's Possible to run wvdial as soon as linux detects USB modem.I have already installed and done the setting for using wvdial. I can successfully use wvdial command to setup internet connection.But I have only 1 USB modem. When my wife wants to use it for her PC, she disconnects it from my linux machine.What I want to do now is... 1 that when I attatch the USB back to my linux, I'd want it to do "wvdial &" automatically.2 that when linux is rebooted, "wvdial &" done automatically as soon as it detects USB modem.
trying to install wvdial-1.61-3.fc13.i686.rpm from last two days on centos5.5 but it is demanding for dependencies.these are written below
Code:
libuniconf.so.4.6 is needed by wvdial-1.61-3.fc13.i686 libwvbase.so.4.6 is needed by wvdial-1.61-3.fc13.i686 libwvstreams.so.4.6 is needed by wvdial-1.61-3.fc13.i686 libwvutils.so.4.6 is needed by wvdial-1.61-3.fc13.i686
[code]....
i have tried alot but could not find these dependencies. is there any huge rpm which can resolve all dependencies requirement?
I use wvdial and a 3G modem to connect to the network. On the same host I also run bind9 which is authorative for my local network.The problem is that when wvdial connects, it overwrites /etc/resolv.conf, which means that DNS lookups on that host no longer get made to localhost (as specified by the original resolv.conf file) and end up at the local instance of bind which is authorative for in-house hostnames, but end up with the ISP who doesn't know my in-house host names.The local DNS forwards to the ISP, so the ISP's DNS'es are not required in resolv.conf.How can I prevent wvdial from overwriting /etc/resolv.conf?Removing write privileges from /etc/resolv.conf did not work.
1) I have micromax 372g usb modem(3g).. but it is not being connected ubuntu 10.10 2) I suppose my device is being recognized and I tried this method [URL] but when I tried to install, it said that package missing for wvdial.
What should I do. Where can I get this package and how can I install it (with no dependany check). My life is extremely difficult without internet on ubuntu, I am ready to give any other information that u need. I have ubuntu 10.10 maverick dual boot with windows. And yes take into consideration that I don't have internet on ubuntu. So provide me full detail how to install it from other media and commands to execute them.
What I want to do is to share the internet connected to a computer with a telephone, over another telephone which is permanently connected to the pc.The thing is, that some guys found a way of making this on windows, in fact, I already set it up on xp and works like a charm, it involves configuring in a certain way the telephone, and to use 2 programs. One is CCProxy, which redirects the internet connection to the telephone, and another one, which updates the IP adress of the telephone connection to dyndns, so that I can put that adress on my second telephone as proxy, and this way, surf on the net through my home internet on the telephone anywhere. Tricky right?
Now, the thing is I don't like at all booting windows only for sharing internet with my telephone. So I want to do it in linux. I use Ubuntu and Puppy linux home.I tried setting up the connection to the modem with wvdial, and... I got connected! But hey, when I connect to the telephone, I lost my internet connection (main, cable based, the pc connection) :-S. I mean, somehow, the "active" connection for the browsers and all the internet programs is now the connection I have made with my telephone, which is plugged to the computer.Now my objective here is that NO CHANGE of active connections get done when I start the connection to the phone, and then, get a program like CCProxy, and a dyndns updater for sharing the internet connection on the pc, to the connection made on the telephone-modem wired to the computer.
On a fully updated Ubuntu 9.04 system, I had successfully configured wvdial to connect using a USB modem ("Update" brand) with an ID of 067b:0611 (uses the pl2303 driver module). In considering an upgrade to Ubuntu 9.10, I tried a LiveCD and was unable to connect using wvdial. However, because I had made the CD a couple months before, I went ahead with the upgrade (via the internet; not a fresh install) in the hopes that it would end up working or I would be able to find a solution for it.
The Problem: The upgrade was a success as far as I could tell, but when I tried to connect to the internet with wvdial, I was not able to. I checked the wvdial.conf settings to make sure they were the same as before, added some new ones I thought it might need, unplugged the modem and replugged it, restarted my system, etc., but all to no avail. Whenever I would try to run wvdial to connect, I would get the following output:
Code:
--> WvDial: Internet dialer version 1.60 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ
[code]....
This was different than the output I used to get with wvdial, but when I went over to my browser (Firefox) the internet worked fine. I'm assuming my email client and other things will work okay as well, but have not tested them as of yet.
A final touch I did to make connecting a bit less 'painful' was to right-click on the panel (at the top of the default Ubuntu screen), and click on 'Add to Panel'. Then I selected 'Custom Application Launcher', chose 'Application in Terminal' for 'Type', gave the launcher a name, pasted in that 'horrifically' long command line above, gave a brief description in the 'comment' box, then pressed 'OK'. Voila! I now have a launcher on my panel that with a single-click will bring up a terminal screen where I enter my sudo password and it connects. Then when I want to disconnect I just go back to that terminal, press Ctrl+C, which promptly disconnects me and causes the terminal to vanish into thin air.
Now, I don't know enough about this stuff to know why this command worked and wvdial didn't, but if you know, feel free to post a reply. Or if you'd like to see what settings I had for wvdial that worked in 9.04 but not in 9.10, let me know. Or if you think it's worth checking to see if this should be posted as a bug in either wvdial or Ubuntu, you can mention that as well.
I already had solved the problem [URL].. but after several yum updates it has appeared again. Within the script "/etc/ppp/ip-up" the sixth parameter isn't provided. But the sixth parameter should be "ppp0" (in this case). The script sets it into the variable $LOGDEVICE and passes it as first parameter to annother script. Successfully I had patched "/etc/ppp/ip-up". I would like to report a bug but I'm not sure if it is a wvdial or a ppp/pppd or a Fedora 14 bug.
Now (after several yum patch updates) my patched /etc/ppp/ip-up doesn't help anymore. The registration at the mobile phone provider seems to be ok but the internet connection isn't initialized.
According the man pages wvdial starts ppp or pppd and one of them seems to call /etc/ppp/ip-up. At which point in the subprocessed scripts (under /etc/sysconfig/network-scripts/) I didn't find out yet.
trying to connect to the internet using wvdial but facing problems. the command runs fine until i get PID ppd Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat Oct 23 10:40:09 2010 --> Pid of pppd: 2520
nothing happens after this.. I checked the resolve.conf and it is empty. i put openDNS server addresses but still did not work.
Using Centos 5.4 I've successfully set up pppd and wvdial to automatically dial out but I need wvdial to call an alternative number if the number is busy or dialout fails for some other reason and I cannot get this to work. I've gone back to basics and tried manually soliciting wvdial with a minimal wvdial.conf:
No nameservers found; Try putting DNS servers into your ifcfg files in /etc/sysconfig/network-scripts like so: [...]
After running wvdial. I suppose I have to create a file ifcfg-ppp0, but what does it have to contain in order to automatically grep the DNS servers from wvdial?
In Ubuntu, it works just fine, just that I don't have an Ubuntu installation anymore.
Recently i acquired an electroencephalograph (EEG) and started to experiment with it, and i need some way to write or send a couple of Hex numbers to the EEG so it will start working, and then to save the data on text file, or at the very least see the output on the terminal using C or C++, i found some programs around the forums but none seem to work properly and more often than not, The EEG is recognized as /dev/ttyUSB0 has a baud rate of 921600.
How can I program my PIC micro controller through the USB port using Piklab or Ktechlab IDE? I have already installed gputils,SDCC and Piklab!!
how to interface with the PIC boards ICSP through the USB port??( Db9 is not a choice for me as I have a Db15 pin in my laptop hence the need to work thru the USB)
I have been thinking of a USB to Serial along with a serial to ICSP converter but it turns out to be very slow!
Code: crw-rw---- 1 root dialout 188, 0 Nov 14 15:00 /dev/ttyUSB0 How can I get permanently Code: crw-rw---- 1 root uucp,dialout 188, 0 Nov 14 15:00 /dev/ttyUSB0
i have been able to get on line running other linux os using the terminal first i type sudo modprobe -r usbserial & enter followed by sudo modprobe usbserial vendor=0x1199 product=0x120 & enter the last command is sudo dmesg|grep -i ttyusb. I have done this for years and it always has got me on line after the above i open kppp and select for modem /dev/ttyusb0 and click to verify kppp recognizes my sierra wireless usb modem and that is all i have ever had to do, plug in the usb modem type the three commands it comes back with confirmation the modem is attached to ttyusb0, ttyusb1 & ttyusb2 in kppp i click /dev/ttyusb0 and click quarry and get on line with suse11.1 it is not so the first command sudo modprobe -r usbserial comes back with a fatal error but the second and third command give me the same results saying i have attached the usbmodem to ttyusb0,1 & 2. but i cannot configure it in kppp.
i have tried researching on line but cannot find a similar thread. I believe the way i described above has worked on lindows 5.0, and it is how i do it with Mint which i can get on line with today. so i hope one of the wonderful millions of linux users will direct me as to what i am doing wrong. i am running amd 785 4 gb ram msi mainboard ms-7549 my modem is sierra wierless modem 595u (vendor=0x1199 product=0x120) connecting through Sprint pcs which requires no user name or password.
Server - Ubuntu 10.04.1 lts Client - Kubuntu 10.10
When I try to open any nfs-mounted file using OpenOffice, I get a pop-up window titled "Document in Use". The text of the message is:
"Document file 'abcde.odt' is locked for editing by:
Unknown User
Open document read-only or open a copy of the document for editing." I then have three options - <Open Read-Only>, <Open Copy>, & <Cancel> If I cp any of these files from the mounted directory to my home dir (not mounted), I can open them without problem.Also, my firefox & thunderbird date are in this mounted directory as well (sym links to ~dan/.mozilla & ~dan/.thunderbird). Both of these apps hang when trying to open, leaving two processes behind that need to be manually killed. Again, cp'ing the data out of the nfs-mounted dir onto a local dir resolves the issue, so I am 100% confident there is nothing missing or corrupted in the firefox &/or thunderbird data...
relevant entry in /etc/fstab: server:/nfs/dan/Documents /home/dan/Documents nfs defaults 0 0 relevant entry in server's /etc/exports: /nfs/dan/Documents client(rw)