ubuntu 11

Wireless broadband over 3G/4G
jezweb
Posts: 15
Joined: Sat Jan 05, 2008 5:05 pm
Location: Newcastle
Contact:

ubuntu 11

Post by jezweb » Thu May 05, 2011 3:39 pm

I've been trying to get the e160e to work on ubuntu, i've used the network manager to setup the wireless connection, selected exetel, the apn is exetel1, the dial is *99# and that all seems fine but when i try and connect it immediately says gsm disconnected, not even seeming to dial a connection. The stick and sim work fine on a win7 machine. Any suggestions/ideas/known issues? All the forum posts ive read suggest it should all work fine with defaults.

shoner
Posts: 756
Joined: Mon Apr 20, 2009 2:50 pm

Re: ubuntu 11

Post by shoner » Thu May 05, 2011 3:57 pm

jezweb wrote:I've been trying to get the e160e to work on ubuntu, i've used the network manager to setup the wireless connection, selected exetel, the apn is exetel1, the dial is *99# and that all seems fine but when i try and connect it immediately says gsm disconnected, not even seeming to dial a connection. The stick and sim work fine on a win7 machine. Any suggestions/ideas/known issues? All the forum posts ive read suggest it should all work fine with defaults.
Have you activated the restricted drivers?
"Helping Making a Better World"

Log a fault ticket Here
or call Exetel VOIP numbers (02) 8030 1000 or 1300 788 141 (log faults 24x7)
Exetel Support Portal

Dazzled
Volunteer Site Admin
Posts: 6003
Joined: Mon Nov 13, 2006 1:16 pm
Location: Sydney

Re: ubuntu 11

Post by Dazzled » Thu May 05, 2011 4:09 pm

I haven't installed a copy of 11.04 yet, but on previous Ubuntu releases, for Exetel/Optus HSPA, you only need to find Exetel in the Network Manager menu and that's it. "GSM disconnected" means it hasn't made contact at all, so it's a setup problem. There are no restricted drivers needed for Huawei modems - it is all open source, and is built-in to a default installation.

These modems can be interrogated quite easily from the terminal - ask if needed.

jezweb
Posts: 15
Joined: Sat Jan 05, 2008 5:05 pm
Location: Newcastle
Contact:

Re: ubuntu 11

Post by jezweb » Thu May 05, 2011 4:19 pm

ok, so is there an equivalent of "device manager" that i can see what error it is getting for the stick? ... the terminal interrogation?

its downloading a bunch of updates at the moment, maybe something in there will help.

shoner
Posts: 756
Joined: Mon Apr 20, 2009 2:50 pm

Re: ubuntu 11

Post by shoner » Thu May 05, 2011 4:50 pm

I googled and came across this link but its for ubuntu 10.10
"Helping Making a Better World"

Log a fault ticket Here
or call Exetel VOIP numbers (02) 8030 1000 or 1300 788 141 (log faults 24x7)
Exetel Support Portal

Dazzled
Volunteer Site Admin
Posts: 6003
Joined: Mon Nov 13, 2006 1:16 pm
Location: Sydney

Re: ubuntu 11

Post by Dazzled » Thu May 05, 2011 8:24 pm

This article - http://www.muktware.com/man/1063 - makes it look as if it is unchanged in 11.04. There's a similar article at http://filesinbinary.com/how-to-set-up- ... ntu-linux/

If you suspect that the usb stick itself is not being recognised, look at the items from the terminal command
dmesg | grep -e "modem" -e "tty"
Shoner's reference involves modprobe-ing the kernel's Huawei driver.

Mounting the modem should also automatically activate the usb mode switch. The APN supplied from the menu should be all you need to enter, once only.

For commands to interrogate a mounted and modeswitched modem, you need two terminal windows, both connected to the usb port. One will send your requests, the other will receive the response. Check that the modem is mounted as USB2 (dmesg, yours may differ). In the 1st terminal, enter:
tr -s "\n" </dev/ttyUSB2
Then in the second:
echo -e "ATZ\r" >/dev/ttyUSB2
echo -e "AT+CGDCONT?\r" > /dev/ttyUSB2
echo -e "AT+COPS?\r" > /dev/ttyUSB2


There's a discussion of using this method to discover mainly RSSI signal strength at viewtopic.php?f=308&t=37388&hilit=rssi. (It also shows how to get a broadband speed meter). This is the terminal equivalent of some of the commands sent by the network manager. Destroy the terminals to get the USB port back.

thejeg

Re: ubuntu 11

Post by thejeg » Fri May 06, 2011 12:04 am

jezweb wrote:ok, so is there an equivalent of "device manager" that i can see what error it is getting for the stick? ... the terminal interrogation?

its downloading a bunch of updates at the moment, maybe something in there will help.
This could also be the bug that's discussed at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592444

jezweb
Posts: 15
Joined: Sat Jan 05, 2008 5:05 pm
Location: Newcastle
Contact:

Re: ubuntu 11

Post by jezweb » Fri May 06, 2011 7:51 am

something in the updates fixed it, works fine now.

thejeg

Re: ubuntu 11

Post by thejeg » Fri May 06, 2011 7:56 am

jezweb wrote:something in the updates fixed it, works fine now.
Awesome ;)

jezweb
Posts: 15
Joined: Sat Jan 05, 2008 5:05 pm
Location: Newcastle
Contact:

Re: ubuntu 11

Post by jezweb » Fri May 06, 2011 9:16 am

indeed. except its now stopped working and doing the same thing again, argh.

jezweb
Posts: 15
Joined: Sat Jan 05, 2008 5:05 pm
Location: Newcastle
Contact:

Re: ubuntu 11

Post by jezweb » Fri May 06, 2011 9:18 am

actually it just doesnt seem to like the e1762, meh, so long as the 160 keeps working

shoner
Posts: 756
Joined: Mon Apr 20, 2009 2:50 pm

Re: ubuntu 11

Post by shoner » Fri May 06, 2011 10:08 am

jezweb wrote:actually it just doesnt seem to like the e1762, meh, so long as the 160 keeps working
Hmmm.. I've got a e1762 will test and post results here during the weekend ;)
"Helping Making a Better World"

Log a fault ticket Here
or call Exetel VOIP numbers (02) 8030 1000 or 1300 788 141 (log faults 24x7)
Exetel Support Portal

Dazzled
Volunteer Site Admin
Posts: 6003
Joined: Mon Nov 13, 2006 1:16 pm
Location: Sydney

Re: ubuntu 11

Post by Dazzled » Fri May 06, 2011 12:48 pm

The e1762 works up to Natty, so if it doesn't now it's a new bug. It responds to the same AT commands as the e160, and these are used to control it.

thejeg

Re: ubuntu 11

Post by thejeg » Sat May 07, 2011 4:37 am

Dazzled wrote:The e1762 works up to Natty, so if it doesn't now it's a new bug. It responds to the same AT commands as the e160, and these are used to control it.
Agree with Dazzled. 1762 works fine

shoner
Posts: 756
Joined: Mon Apr 20, 2009 2:50 pm

Re: ubuntu 11

Post by shoner » Mon May 09, 2011 11:48 am

shoner wrote:
jezweb wrote:actually it just doesnt seem to like the e1762, meh, so long as the 160 keeps working
Hmmm.. I've got a e1762 will test and post results here during the weekend ;)
I tested this with my e1762 on ubuntu 11.04 over the weekend, and I did not come across the issue that you are facing :(
I keep my system regular updated and as soon as I plugged it in had no issues, went through the setup wizard and all was good. Modem showed, programmed the APN and presto!! it worked.
"Helping Making a Better World"

Log a fault ticket Here
or call Exetel VOIP numbers (02) 8030 1000 or 1300 788 141 (log faults 24x7)
Exetel Support Portal

Post Reply