LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 08-28-2009, 09:30 PM   #1
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
dial command error for CrazyJohns usb modem U6T


Mods feel free to move

hi

I have wired internet which is super easy on Linux.

I have a CJ modem and am attempting to use wvdial to get it to work. So far ignoring any IP issues...its not accepting the dial command.

Method

Buy it and activate it on the CJ site...shows I have 100 megs of use available and time is not yet expired. My phone number has a activated PIN.

CJ have not replied to my email problably because they are reluctant to support Linux users.

Its a flip flop so first plug it in its seen in my file manager as a cdrom.

http://i27.tinypic.com/6742sj.jpg

You then eject it....as a software command in the filemanager (such as Konqueror but I use pcmanfm...on a LXDE wm)....leaving the modem still plugged in

Reading your /var/log/messages you will get new ids and you use this to switch to modem mode

Code:
su
modprobe -r usbserial
modprobe usbserial vendor=0x05c6 product=0x9000
lsusb to show product 9000 instead of f000
running wvdialconf the first time is not exciting in terms of baud speed..in a code box for space reasons

Code:
wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1  failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1  failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1  and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1  failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1  failed with 9600 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1  and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB1<*1>: ATQ0 V1 E1  OK
ttyUSB1<*1>: ATQ0 V1 E1 Z  OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0  ERROR
ttyUSB1<*1>: ATQ0 V1 E1 &C1  ERROR
ttyUSB1<*1>: ATQ0 V1 E1 &D2  ERROR
ttyUSB1<*1>: ATQ0 V1 E1 +FCLASS=0  OK
ttyUSB1<*1>: Modem Identifier: ATI  Manufacturer: Alpha
ttyUSB1<*1>: Speed 9600: AT  OK
ttyUSB1<*1>: Max speed is 9600; that should be safe.
ttyUSB1<*1>: ATQ0 V1 E1 +FCLASS=0  OK
WvModem<*1>: Cannot get information for serial port.
ttyUSB2<*1>: ATQ0 V1 E1  OK
ttyUSB2<*1>: ATQ0 V1 E1 Z  OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0  ERROR
ttyUSB2<*1>: ATQ0 V1 E1 &C1  ERROR
ttyUSB2<*1>: ATQ0 V1 E1 &D2  ERROR
ttyUSB2<*1>: ATQ0 V1 E1 +FCLASS=0  OK
ttyUSB2<*1>: Modem Identifier: ATI  Manufacturer: Alpha
ttyUSB2<*1>: Speed 9600: AT  OK
ttyUSB2<*1>: Max speed is 9600; that should be safe.
ttyUSB2<*1>: ATQ0 V1 E1 +FCLASS=0  OK

Found a modem on /dev/ttyUSB1.
/etc/wvdial.conf<Warn>: Can't open '/etc/wvdial.conf' for reading: No such file or directory
/etc/wvdial.conf<Warn>: ...starting with blank configuration.
Modem configuration written to /etc/wvdial.conf.
ttyUSB1<Info>: Speed 9600; init "ATQ0 V1 E1 +FCLASS=0"
ttyUSB2<Info>: Speed 9600; init "ATQ0 V1 E1 +FCLASS=0"
root@sid:/home/gordy# cat /etc/wvdial.conf

[Dialer Defaults]
Init2 = ATQ0 V1 E1 +FCLASS=0
Modem Type = Analog Modem
; Phone = <Target Phone Number>
ISDN = 0
; Username = <Your Login Name>
Init1 = ATZ
; Password = <Your Password>
Modem = /dev/ttyUSB1
Baud = 9600
I then edit the /etc/wvdial.conf with root powers to clean it up a bit so it reads

----------------------------------wvdial.conf-------------------
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 +FCLASS=0
Modem Type = Analog Modem
Stupid Mode = 1
Phone =*99***1#
Dial Command = ATDT
ISDN = 0
Username = 04secret.......number deleted for privacy reasons
Password = myactivatedpin-number....privacy reasons
Modem = /dev/ttyUSB1
Baud = 9600

---------------------------end-----------------------------

At this stage I am not concerned about slow speed and it should work better? but I have also tried faster speeds in there but same dial error

running wvdial (I am a member of dialout) as local or root gives same error

Code:
wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 +FCLASS=0
ATQ0 V1 E1 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
ERROR
--> Invalid dial command.
--> Disconnecting at Sat Aug 29 08:41:15 2009
Now according to this post...user for Microsoft reports the dialling number is correct?
http://forums.whirlpool.net.au/forum...19&p=-1#bottom

so I am stumped at the moment.

major EDIT
early report of apn was wrong a post suggests it is
purtona.net

so my likely wvdial line may be
Init 2 = AT+CGDCONT=1,"IP","purtona.net"

Now apparently the CGDCONT=1 is setting a profile for number 1 and you can have a profile for mail and a profile for mms etc

oops forgot to add...usb0 and usb2 was also attempted.

now /dev/USB2 is apparently the "information" channel which Microsoft users would use for umm information...probably tranfer data.

Last edited by aus9; 08-30-2009 at 09:51 PM.
 
Old 08-30-2009, 08:12 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, I have a vfinternet.au account too.(Vodafone)

I saw you mentioned 115200 baud as one of the settings.

I have only 2 suggestions.

For usb g3 modems use the "option" kernel module instead of wvdial.

I don't have to login, no password, no username.

But the device is activated via the sim card in my Hauwei e220.(usb1.0)

I have the baud set at LINESPEED=460800, It won't connect at lower than 115200.

Generally I get a speed upto 512kb/s download(usb wireless modem, g3 hdspa(i think))

the command is located in /etc/sysconfig/network-scripts/ifcfg-ppp0
Code:
DEVICE=ppp0
ONBOOT=yes
METRIC=40
USERCTL=yes
LINESPEED=460800
MODEMPORT=/dev/ttyUSB0
DEBUG=yes
PERSIST=yes
DEFROUTE=yes
CELLULAR_CID=3
there are other files it relys on, like (same dir)chat-ppp0....
Code:
ABORT BUSY
ABORT ERROR
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT 'Invalid Login'
ABORT 'Login incorrect'
ABORT VOICE
ABORT 'NO ANSWER'
ABORT DELAYED
ABORT 'SIM PIN'
'' ATZ
OK-AT-OK 'AT+CPIN?'
OK-AT-OK 'AT+CMEE=2'
OK-AT-OK 'AT+CGDCONT=3,"IP","vfinternet.au"'
OK-AT-OK 'AT+CGATT?'
OK 'ATDT*99***2#'
TIMEOUT 120
CONNECT ''
TIMEOUT 5
'~--' ''
from what I can gather the OK 'ATDT*99***2#'is a 25mile radius, and 3# is more than 50miles from the center(isp).

Therefore 1# must be closer to the exchange(?) than 2# or 3#.

I live less than 6 klicks from the cbd (brisbane) but 1# does not work for me.

OK, That's the 2 points I wanted to make.

I have the dns's listed in ifcfg-eth0(same dir)
Code:
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
GATEWAY=10.64.64.64
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no
USERCTL=yes
DNS1=203.2.193.67
DNS2=202.135.30.4
DOMAIN=vfinternet.au
RESOLV_MODS=no
LINK_DETECTION_DELAY=6
IPV6INIT=no
IPV6TO4INIT=no
also check /etc/resolv.conf (Mandriva system, yours may differ)
Mine usually lists wins addresses like 10.11.12.13 and 10.11.12.14 from the modem.
But linux can't connect, it works with the real dns addresses like....
/etc/resolv.conf
Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 203.2.193.67
nameserver 202.135.30.4
nameserver 192.168.0.2
search vfinternet.au
search GamesBox.GlennsPref.net
I have to turn off the resolv service to stop the system picking up the wins addresses up from the modem.

Hope this helps you a bit, or at least gives you some other avenues to look up.

Regards Glenn
 
Old 08-30-2009, 09:58 PM   #3
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
GlennsPref

Thankyou.

I shall investigate all suggestions so will do yours shortly. I have seen a reply on the whirlpool forum suggesting I have mislead you on the apn matter so have corrected the apn to purtona.net in my top post.

That in no way detracts from your suggestion tho.

I am replying below your post to explain the edit to save others from being mislead as well...I hope.

As a side matter...I have seen a number of posts where they use wvdial which is why I was using it...so I do not care to use it if your way or others is effective.

ON that forum there was another suggestion of trying dial number *98# and that is no joy either.

Last edited by aus9; 08-30-2009 at 10:00 PM.
 
Old 08-30-2009, 10:25 PM   #4
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
GlennsPref

ok first issue....what is exact name of kernel module for option please?

I assumed it related to usb option and tried

Code:
su
modprobe usb_serial_option
WARNING: All config files need .conf: /etc/modprobe.d/blacklist-vmc, it will be ignored in a future release.
FATAL: Module usb_serial_option not found.
 
Old 08-31-2009, 01:01 AM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, It's just called option....

Code:
glenn@GamesBox:~$ lsmod | grep option                             (31-08 14:57)
option                 29700  1
usbserial              45488  3 option
usbcore               232692  12 snd_usb_audio,snd_usb_lib,usbhid,usblp,gspca_spca561,gspca_main,option,usbserial,ohci_hcd,ehci_hcd,usb_storage
Did you try

modprobe option

Why is vmc (vodafone Mobile Connect?) black listed?

I don't use vmc or kpppd either.

Regards Glenn

<edit>
I also have this line in /etc/ppp/peers/ppp0....
Code:
connect "/usr/sbin/chat -v -f /etc/sysconfig/network-scripts/chat-ppp0"
</edit>

Last edited by GlennsPref; 08-31-2009 at 01:09 AM. Reason: /etc/ppp/peers/ppp0
 
Old 08-31-2009, 03:10 AM   #6
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
hi

modprobe option...that part works...well silly me.

2) why is vmc blacklisted.... That was a config file and blacklisted 2 modems that are definately not mine.
However I tried to use vmc......sorry for not reporting it earlier but I have been doing a lot of things....vmc failed for me.

3) I have just done a big clean up....using partimage to restore my old stuff because I got into a bit of mess with vmc, usb_modeswitch, umtsmon, you name it..... I tried it. Well except for actually installing ms or mac...lol

I also want to now concentrate on one style at a time.
And yes wvdial has had its turn now its the turn of pppd and your way.

4) I am also re-visiting the flip flop issue and am just starting testing of an udev rule based somewhat on this different modem
http://blog.ufsoft.org/zte-mf622-usb-modem-under-linux

As I have only just rebooted from a backup...I have yet to complete your way and testing.

5) a separate issue is your feedback on the distance from exchange and number dialled.

I am not an expert...otherwise I would not be asking the question...lol.......but it seems that the 1 or 2 etc refer to profiles as per link
http://yob.id.au/blog/2008/05/22/tel...xtg_and_linux/


thanks for your patience.

Last edited by aus9; 08-31-2009 at 03:16 AM. Reason: add (5)
 
Old 08-31-2009, 04:45 AM   #7
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi,
Quote:
vmc, usb_modeswitch, umtsmon, you name it..... I tried it.
Me Too!

Just another file that plays a part....
/etc/sysconfig/network
Code:
NETWORKING=yes
GATEWAYDEV=ppp0
HOSTNAME=GamesBox.GlennsPref.net
FORWARD_IPV4=true # this line is for squid
This may be a useful module too, it's loaded on my system.

binfmt_misc
ref. http://en.wikipedia.org/wiki/Binfmt_misc

let me know how you go, Glenn

ps, if I remember correctly, I used the vmc installer to get the config files, then dumped the binary and use Mandriva and ppp0, in the files above, to initialise it during boot.

Last edited by GlennsPref; 08-31-2009 at 04:47 AM.
 
Old 08-31-2009, 07:57 PM   #8
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
hi anyone

this post in limited to udev only. At the risk of boring people in reading too much of my attempts...FYI

current status a fail

-------------/etc/udev/rules.d/15-u6t.rules-------------
ACTION!="add", GOTO="U6T_End"

# Is this the ZeroCD device?
SUBSYSTEM=="usb", SYSFS{idProduct}=="f000",
SYSFS{idVendor}=="05c6", GOTO="U6T_ZeroCD"

# Is this the actual modem?
SUBSYSTEM=="usb", SYSFS{idProduct}=="9000",
SYSFS{idVendor}=="05c6", GOTO="U6T_Modem"

LABEL="U6T_ZeroCD"
# This is the ZeroCD part of the card, remove
# the usb_storage kernel module so
# it does not get treated like a storage device
RUN+="/sbin/rmmod usb_storage"

LABEL="U6T_Modem"
# This is the Modem part of the card, let's
# load usbserial with the correct vendor
# and product ID's so we get our usb serial devices
RUN+="/sbin/modprobe -r usbserial"
RUN+="/sbin/modprobe usbserial vendor=0x05c6 product=0x9000",
# Make users belonging to the dialout group
# able to use the usb serial devices.
MODE="660", GROUP="dialout"

LABEL="U6T_End"
---------------------------------

with or without that mobprobe -r line...cold boot hangs at populating dev.

so I move on
 
Old 08-31-2009, 08:05 PM   #9
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
hi

in attempting to move on....I am running in the same spot..lol

I have wired ethernet already. My network scripts differ from Mandriva...which may be an issue for me...but I am not sure how to get Glenn's scripts to activate without moving my current eth scripts to another area.

Back in the days when I had a phone line with a dial up modem and ethernet router...because I am now on naked dsl.....I seem to recall that dial up...kinda conflicts with eth. In those days I was using kppp and so I found it easier...if eth failed to load and run a live cd that had kppp on it...to use the dial up modem.

atm I am reading the manual page for pppd.

pppd call (scriptname=isp) looks ok but initially a fail.

So if anyone would like to suggest the smartest way of doing it, feel free.

EDIT it looks like I may be able to keep both by putting Glenn's stuff into
/etc/ppp/peers

Last edited by aus9; 08-31-2009 at 08:11 PM.
 
Old 08-31-2009, 08:46 PM   #10
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
ok this bit is not for Glenn but shows what I have attempted so far.

1) su && modprobe option.....ok its loaded
2) Glenn's ...chat-ppp0......goes to my /etc/chatscripts/glenn-chat
3) Glenn's files of network, ifcfg-ppp0 ...not sure but I have all these in /etc/ppp/peers/ with renamed to glenn-*
4) /etc/resolve.conf replaced...no big issue as my script overwrites it on boot as forewarned by Glenn.

5) Now to start it manually I did this

Code:
su (at this stage not concerned about pppd permission)
root@sid:/home/gordy# pppd call glenn-ppp0
pppd: The remote system is required to authenticate itself
pppd: but I couldn't find any suitable secret (password) for it to use to do so
So ignoring the warning in file /etc/ppp/options I have commented the line wanting auth.

now I have....pppd call glen-ppp0.....
terminal shows ATZ...but modem lights do not change to show connection and after about one minute the terminal resets to normal prompt

...its a start....not sure what is wrong atm...so many files and so could be any one of them playing up


------------snip from /var/log/messages-----------
Code:
Sep  1 08:54:05 sid pppd[16017]: pppd 2.4.4 started by gordy, uid 0
Sep  1 08:54:05 sid chat[16019]: abort on (BUSY)
Sep  1 08:54:05 sid chat[16019]: abort on (ERROR)
Sep  1 08:54:05 sid chat[16019]: abort on (NO CARRIER)
Sep  1 08:54:05 sid chat[16019]: abort on (NO DIALTONE)
Sep  1 08:54:05 sid chat[16019]: abort on (Invalid Login)
Sep  1 08:54:05 sid chat[16019]: abort on (Login incorrect)
Sep  1 08:54:05 sid chat[16019]: abort on (VOICE)
Sep  1 08:54:05 sid chat[16019]: abort on (NO ANSWER)
Sep  1 08:54:05 sid chat[16019]: abort on (DELAYED)
Sep  1 08:54:05 sid chat[16019]: abort on (SIM PIN)
Sep  1 08:54:05 sid chat[16019]: send (ATZ^M)
Sep  1 08:54:05 sid chat[16019]: expect (OK)
Sep  1 08:54:33 sid kernel: usb 1-8: reset high speed USB device using ehci_hcd and address 11
Sep  1 08:54:50 sid chat[16019]: alarm
Sep  1 08:54:50 sid chat[16019]: send (AT^M)
Sep  1 08:54:50 sid chat[16019]: expect (OK)
Sep  1 08:55:22 sid kernel: usb 1-8: reset high speed USB device using ehci_hcd and address 11
Sep  1 08:55:35 sid chat[16019]: alarm
Sep  1 08:55:35 sid chat[16019]: Failed
Sep  1 08:55:35 sid pppd[16017]: Exit.
Edit again

it looks like my connect is failing as this person's log shows similar start up commands but they get an OK and can then send other stuff like IP stuff

http://www.debianadmin.com/gprs-in-d...mens-me45.html

Last edited by aus9; 08-31-2009 at 09:08 PM.
 
Old 09-01-2009, 08:49 AM   #11
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Well, I know they are different distros and modems, but I have succeeded at times...
http://www.linuxquestions.org/questi...ubuntu-730373/

Best wishes, Glenn
 
Old 09-01-2009, 09:23 PM   #12
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
GlennsPref

ok I have re-tried every app again.

some questions on yours please?

Is yours a flop flop?

Does the kernel module=option mean its some kind of usbserial module and does not need modem to modeswitch?

Do you use an udev rule to stop having to modeswitch it or have you sent it a command like....cdrun (I forget will find it later)

2) Back to option....found this link...is this how you do it?
http://quozl.linux.org.au/bp3-usb/
under section...use the option driver

3) minor note to myself...using wvdial again...I managed to get the following at commands to work

Code:
ATi...for information

Sending: AT+CPIN?
AT+CPIN?
+CPIN: READY
OK
Sending: AT+CGDCONT=1,"IP","purtona.net"
AT+CGDCONT=1,"IP","purtona.net"
OK
4) but I still have not resolved whether the cgdcont=1 is the correct profile or whether I need a CID as per your suggestion or whether the number relates to distance to exchange.

What I can say...I according to my booklet my modem has a flashing blue light which means ...
3G HDSPA/UMTS network found...Ready to connect.

but of course...I still get the wvdial command error or modem hangs on attempting to use pppd and then terminal closes either as local user or root.
 
Old 09-01-2009, 09:51 PM   #13
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Quote:
Is yours a flop flop?
as far as I'm aware, first time only, and it was activated in winxp.
My Linux system never saw it as a storage device, but winxp did until the device was restarted (part of the install process)

Quote:
2) Back to option....found this link...is this how you do it?
No, but I got this thing nearly 2 years ago (come feb 2010) so, my memory has faded. I've been using those scripts above since the first time I got it working in Linux. But I did use the VMC program to set it up initially, but the connect part of the program was so unreliable (made for 32bit systems, "dependency hell" on 64bit) I dumped it, got settings from winxp (ipconfig and netstat /an) and have not looked back. Sorry.

regarding Q3) You're AT commands supass my experience, I have used them raw in the workshop, but followed a proprietary design and chips (used in Tele-metering, open dam gate, close dam gate, temp sensors and weather detections systems, etc).

Quote:
What I can say...I according to my booklet my modem has a flashing blue light which means ...
3G HDSPA/UMTS network found...Ready to connect.
Mine is similar, flashing green when searching, flashing dark blue when found but not connected, solid dark blue when connected and solid light blue when transferring at high speed.

iirc, there used to be a listing in my /etc/fstab for binfmt_misc which may have been responsible for making the device use serial usb mode.
Code:
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
That's all I got atm.

regards Glenn

As far as I can tell, if the modem searches then is flashing blue, the hardware works. Just a matter of the correct connect config.

I have never had any luck with the standard Mandriva Networking (configure your network) or kde's kppp. Australia was not on the list) I recall viewing some british vodafone forums, and found the hack I use. Although it (Mandriva) did install the appropriate modules and packages for me(wvdial & binfmt_misc) I had to hack the fstab file.

Last edited by GlennsPref; 09-01-2009 at 10:26 PM.
 
Old 09-01-2009, 10:04 PM   #14
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
hi

have not tried out binfmt_misc ...just wanted to post the link to auto cdrun to off

http://ubuntuforums.org/showpost.php...14&postcount=2

Code:
AT+ZCDRUN=8
AT+ZCDRUN=9 to turn on if using another computer for first time
 
Old 09-01-2009, 11:23 PM   #15
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
hi

bloody hell I have done it...woo hoo.

ok well I was naughty and did it with root permissions and had to browse the net with root...but will fix

ok I will do some more testing now and figure out best way to modeswitch...udev or usb_modeswitch or cdrun=8

2) I need to fix my pppd permissions and wvdial

3) Glenn I have done it with that post 12 (2) link and wvdial and manually flip flop

summary was

ifconfig eth0 down...to stop router
replace to use -----------/etc/resolve.conf------------
nameserver 208.67.222.222
nameserver 208.67.220.220
search purtona.net
-------------------
its not perfect but it worked

install modem and eject it

instead of my usbserial crap...I used Glenn's option with a tweak

modprobe option
echo "0x05c6 0x9000" > /sys/bus/usb-serial/drivers/option1/new_id

--------
root run wvdial (to be fixed)

uses -----/etc/wvdial.conf-----------
[Dialer Defaults]
Init 1 = ATZ
Init 2 = ATQ0 V1 E1 +FCLASS=0
Init 3 = AT+CGDCONT=1,"IP","purtona.net"
Modem Type = Analog Modem
Stupid Mode = 1
Phone =*99***1#
Dial Command = ATDT
ISDN = 0
Username = na
Password = na
Modem = /dev/ttyUSB3
Baud = 460800


4) Now I am guessing that new id...causes me to have to use the last named USB device....where previously I thought that was only for modem AT commands....well bugger me.

5) Thanks again for your help.

it may now take me some time to find the easiest most reliable automatic way of getting to modem mode

regards

one happy camper

Last edited by aus9; 09-01-2009 at 11:44 PM.
 
  


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
Configuring a Dial up usb modem umwai Linux - Newbie 1 10-27-2008 11:14 AM
USB GPRS modem does not dial-up xptchina Linux - Wireless Networking 2 08-01-2007 02:34 AM
How to dial up a usb modem (Nokia phone) fakhrul Linux - Networking 2 04-12-2006 04:53 AM
SUSE 9.2 detect my [B]ADSL USB-Ethernet Modem-Router [/B] as a [B]Dial up modem[/B]. myprecius Linux - Hardware 0 06-27-2005 10:21 AM
dial modem from command line joelescoulie Slackware 2 05-10-2005 01:47 PM


All times are GMT -5. The time now is 01:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration