ubuntu 9.10 and LG ks360 modem

Discussion and support for all Linux distributions and Unix flavours (FreeBSD, OpenBSD, etc).
Post Reply
geraldhum
Registered User
Posts: 199
Joined: 13 Feb 2009, 12:59

ubuntu 9.10 and LG ks360 modem

Post by geraldhum »

I connected my phone via USB and went to network connections and then Mobile Broadband. I then setup the connection for vodacom and went to connect and it all connects fine and my LG displays an external IP.

The problem is i cant browse the net like this, The dial out number is *99# and i do get a signal and everything does connect but just cant browse the net. Anyone know how can i get this to work.

Regards
Gerald
Anthro
Moderator Emeritus
Posts: 5547
Joined: 21 Dec 2002, 02:00
Processor: i7 3770k
Motherboard: ASUS P8P67-Pro
Graphics card: 2xNvidia GTX670
Memory: 16 GB Gskill Sniper
Location: In SQL Space inserting 'null' on purpose
Contact:

Re: ubuntu 9.10 and LG ks360 modem

Post by Anthro »

Can you at least do a ping ?
Temporary Absence
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Re: ubuntu 9.10 and LG ks360 modem

Post by rustypup »

this is weird... i've seen someone connect and browse in 9.04 without hiccup on a ks360... what does wvdialconf spit out?

also dmesg | tail immediately after connecting the unit...
Most people would sooner die than think; in fact, they do so - Bertrand Russel
geraldhum
Registered User
Posts: 199
Joined: 13 Feb 2009, 12:59

Re: ubuntu 9.10 and LG ks360 modem

Post by geraldhum »

Nope, i can't do a ping. When i try ping any website it goes strait to unknown host and doesn't even pause before it says unknown host. When i ifconfig, I am getting an ip address from Vodacoms DHCP under ppp0.
geraldhum
Registered User
Posts: 199
Joined: 13 Feb 2009, 12:59

Re: ubuntu 9.10 and LG ks360 modem

Post by geraldhum »

Here is the 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 ACM0
WvModem<*1>: Cannot get information for serial port.
ttyACM1<*1>: ATQ0 V1 E1 -- OK
ttyACM1<*1>: ATQ0 V1 E1 Z -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM1<*1>: Modem Identifier: ATI -- LG Elec.
ttyACM1<*1>: Speed 4800: AT -- OK
ttyACM1<*1>: Speed 9600: AT -- OK
ttyACM1<*1>: Speed 19200: AT -- OK
ttyACM1<*1>: Speed 38400: AT -- OK
ttyACM1<*1>: Speed 57600: AT -- OK
ttyACM1<*1>: Speed 115200: AT -- OK
ttyACM1<*1>: Speed 230400: AT -- OK
ttyACM1<*1>: Speed 460800: AT -- OK
ttyACM1<*1>: Max speed is 460800; that should be safe.
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found an USB modem on /dev/ttyACM1.
Modem configuration written to /etc/wvdial.conf.
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf.tmp7841': Permission denied
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf' ('/etc/wvdial.conf'): Bad file descriptor
ttyACM1<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

and dmesg | tail

[260915.768555] wlan0: associate with AP 00:0f:ea:f8:28:e4
[260915.770734] wlan0: RX AssocResp from 00:0f:ea:f8:28:e4 (capab=0x421 status=0 aid=1)
[260915.770742] wlan0: associated
[261655.659823] wlan0: disassociating by local choice (reason=3)
[261733.919943] wlan0: authenticate with AP 00:0f:ea:f8:28:e4
[261733.925339] wlan0: authenticated
[261733.925350] wlan0: associate with AP 00:0f:ea:f8:28:e4
[261733.928522] wlan0: RX AssocResp from 00:0f:ea:f8:28:e4 (capab=0x421 status=0 aid=1)
[261733.928531] wlan0: associated
[262042.089726] wlan0: disassociating by local choice (reason=3)
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Re: ubuntu 9.10 and LG ks360 modem

Post by rustypup »

what happens when you run

Code: Select all

sudo wvdial

?
Most people would sooner die than think; in fact, they do so - Bertrand Russel
Anthro
Moderator Emeritus
Posts: 5547
Joined: 21 Dec 2002, 02:00
Processor: i7 3770k
Motherboard: ASUS P8P67-Pro
Graphics card: 2xNvidia GTX670
Memory: 16 GB Gskill Sniper
Location: In SQL Space inserting 'null' on purpose
Contact:

Re: ubuntu 9.10 and LG ks360 modem

Post by Anthro »

Code: Select all

/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf.tmp7841': Permission denied
Permission denied says it all - try sudo as rusty suggests
Temporary Absence
geraldhum
Registered User
Posts: 199
Joined: 13 Feb 2009, 12:59

Re: ubuntu 9.10 and LG ks360 modem

Post by geraldhum »

I ran sudo wvdial. Now the connection doesn't connect at all. Just says gsm network disconnected and thats it. :(
geraldhum
Registered User
Posts: 199
Joined: 13 Feb 2009, 12:59

Re: ubuntu 9.10 and LG ks360 modem

Post by geraldhum »

Thanks for all the help, It is working now. Just rebooted ubuntu and all is ok and connecting perfect.
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Re: ubuntu 9.10 and LG ks360 modem

Post by rustypup »

glad to hear it... i still find it strange it didn't work straight off the bat, but there we are... ;)
Most people would sooner die than think; in fact, they do so - Bertrand Russel
Anthro
Moderator Emeritus
Posts: 5547
Joined: 21 Dec 2002, 02:00
Processor: i7 3770k
Motherboard: ASUS P8P67-Pro
Graphics card: 2xNvidia GTX670
Memory: 16 GB Gskill Sniper
Location: In SQL Space inserting 'null' on purpose
Contact:

Re: ubuntu 9.10 and LG ks360 modem

Post by Anthro »

Somewhere on the internet there is a bar graph that explains this phenomenon..
Something about " Hello IT - Have you tried turning it back off, and on again"

Image
Temporary Absence
Post Reply