-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear Andrew,
I solve it from your link. Thanks i just add this to udev.rules KERNEL=="ttyUSB*", BUS=="usb", SYMLINK+="siemens-sk65" and in my wvdial.conf Modem = /dev/siemens-sk65 Regards Salahuddin On 12/16/06, salahuddin pasha <[EMAIL PROTECTED]> wrote:
---------- Forwarded message ---------- From: Andrew Sackville-West <[EMAIL PROTECTED]> Date: Dec 16, 2006 2:44 AM Subject: Re: Phone's USB address problem To: debian-user@lists.debian.org On Sat, Dec 16, 2006 at 02:30:16AM +0600, salahuddin pasha wrote: > Hello there, > > I am having some problem with the USB address. > > I use the GPRS as my main internet connection & debian upgrade. But > some times my mobile's USB address change to /dev/ttyUSB0 to > /dev/ttyUSB1 > > Is there any way to lock the USB address for this. if you're using udev, look into custom udev rules http://www.reactivated.net/writing_udev_rules.html is a good place to start. you can write a custom rule to do all kinds of stuff for your devices. A > > I am using Siemens SK65. > > output > --------------------------------------------------------------------------------------- > ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 > OK > --> Modem initialized. > --> Sending: ATDT*99***1# > --> Waiting for carrier. > ATDT*99***1# > CONNECT > [EMAIL PROTECTED] }9}"}&} }*} } }'}"}(}"}%}&E[11]B}#}#}%B#}%7`~ > --> Carrier detected. Waiting for prompt. > [EMAIL PROTECTED] }9}"}&} }*} } }'}"}(}"}%}&E[11]B}#}#}%B#}%7`~ > --> PPP negotiation detected. > --> Starting pppd at Fri Dec 15 15:20:42 2006 > --> Pid of pppd: 3608 > --> Using interface ppp0 > --> pppd: ˆ[08][06][08]˜[10][06][08] > --> local IP address 10.87.24.219 > --> pppd: ˆ[08][06][08]˜[10][06][08] > --> remote IP address 192.168.254.254 > --> pppd: ˆ[08][06][08]˜[10][06][08] > --> primary DNS address 192.168.80.66 > --> pppd: ˆ[08][06][08]˜[10][06][08] > --> secondary DNS address 202.134.13.3 > --> pppd: ˆ[08][06][08]˜[10][06][08] > --> Connect time 544.0 minutes. > --> pppd: ˆ[08][06][08]˜[10][06][08] > --> Disconnecting at Sat Dec 16 00:24:47 2006 > --> The PPP daemon has died: A modem hung up the phone (exit code = 16) > --> man pppd explains pppd error codes in more detail. > --> Try again and look into /var/log/messages and the wvdial and pppd > man pages for more information. > --> Auto Reconnect will be attempted in 5 seconds > --> Cannot open /dev/ttyUSB0: No such file or directory > --> Cannot open /dev/ttyUSB0: No such file or directory > --> Cannot open /dev/ttyUSB0: No such file or directory > --> Disconnecting at Sat Dec 16 00:24:48 2006 > [EMAIL PROTECTED]:/home/salahuddin# wvdial > ------------------------------------------------------------------------------------------------- > it move to /dev/ttyUSB1 > > -- > -salahuddin_66 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFgwlBaIeIEqwil4YRAvU6AJ47XDwYmGtWU6IVXGtjFnfiAdlizgCeLMCr oFH0XLICGhENZA41NSTNDLQ= =epG7 -----END PGP SIGNATURE----- -- -salahuddin_66
- -- - -salahuddin_66 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFq7afSIRCZMpPW8oRAucCAJ4kjLb7WV+JScwDFumQjHFqKuLD4ACfVmUu V10lK6DAMHh/tQpPulqTEWM= =oBZL -----END PGP SIGNATURE-----