Linux - HOWTO (With Stats)

Status
Not open for further replies.
Can you paste some logs ?

Laterz !

wschoombie said:
I have been running a 3G connection (Novatel card on Suse 10.0) for a number of months with great success. (Thanks to all the good support in this forum). I have the problem where for some reason, the DNS server ip addresses comes through as 10.11.12.13 and I have implemented the workaround where I put the DNS names in the resolv.conf file. As I said this has been working very well for about 6 months now.

About 3 weeks ago I started getting problems when connecting to Vodacom. When I look in the log files, I can see that pppd is able to start up, communicate with the modem and start the ICMP negotiations. Of late, after the second try, the modem gives a Hangup and of course the whole process has to restart.

This is a recent development and I don't know if anything has changed on the Vodacom side. Of course trying the Windows Only Help desk tells you to go away because they dont support Linux.

Has anybody else seen this behaviour? Has anybody been able to fix this?
Any help will be appreciated
 
Tazz_Tux said:
Can you post some IPCP messages that you seeing ?

This would be the same as 619 under Windows from what I remember :(
Hi, desperately need some Linux Ubuntu (Dapper Drake) help on the Huawei card pleeeeze!

I've previously got the Novatel card to work pretty well under Mandrake, but I'm in no way a Linux expert (prob have total 12 hours experience on Linux), but trying to ditch Windoze...

I've tried following the initial steps posted in this thread, but it seems Ubuntu is just plainly ignoring the card, done the modprobe bit, but the console window displaying the results of the "tail" command doesn't show any new entries as a result of plugging in the Huawei card.

Tazz_Tux previously indicated that the Huawei card is very easy & straightforward to setup, so I was glad to see that I had one. So feeling pretty dumb not being able to set this up...

If someone could help me with an "idiot's guide to setting up a Huawei card on Linux" I'd really appreciate it! If this is an issue with Ubuntu, I'll gladly switch...

Thanks!
 
Hi simsam7,

BEFORE you plug the card in, start the tail command and see if it says anything. Once that is done run
Code:
lsusb
and paste both results please.

Laterz

simsam7 said:
Hi, desperately need some Linux Ubuntu (Dapper Drake) help on the Huawei card pleeeeze!

I've previously got the Novatel card to work pretty well under Mandrake, but I'm in no way a Linux expert (prob have total 12 hours experience on Linux), but trying to ditch Windoze...

I've tried following the initial steps posted in this thread, but it seems Ubuntu is just plainly ignoring the card, done the modprobe bit, but the console window displaying the results of the "tail" command doesn't show any new entries as a result of plugging in the Huawei card.

Tazz_Tux previously indicated that the Huawei card is very easy & straightforward to setup, so I was glad to see that I had one. So feeling pretty dumb not being able to set this up...

If someone could help me with an "idiot's guide to setting up a Huawei card on Linux" I'd really appreciate it! If this is an issue with Ubuntu, I'll gladly switch...

Thanks!
 
Tazz_Tux said:
Hi simsam7,

BEFORE you plug the card in, start the tail command and see if it says anything. Once that is done run
Code:
lsusb
and paste both results please.

Laterz
Hi Tazz_Tux

Thanks for the help. This is the output:

Output of tail command, stays like this before & after inserting the card:

sam@sam-laptop:~$ sudo tail -f /var/log/messages
Password:
Jul 8 20:51:30 localhost gconfd (sam-5965): starting (version 2.14.0), pid 5965 user 'sam'
Jul 8 20:51:30 localhost gconfd (sam-5965): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Jul 8 20:51:30 localhost gconfd (sam-5965): Resolved address "xml:readwrite:/home/sam/.gconf" to a writable configuration source at position 1
Jul 8 20:51:30 localhost gconfd (sam-5965): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Jul 8 20:51:30 localhost gconfd (sam-5965): Resolved address "xml:readonly:/var/lib/gconf/debian.defaults" to a read-only configuration source at position 3
Jul 8 20:51:30 localhost gconfd (sam-5965): Resolved address "xml:readonly:/var/lib/gconf/defaults" to a read-only configuration source at position 4
Jul 8 20:51:30 localhost gconfd (sam-5965): Failed to send buffer
Jul 8 20:51:30 localhost last message repeated 5 times
Jul 8 20:51:33 localhost shutdown[4159]: shutting down for system reboot
Jul 8 20:51:42 localhost exiting on signal 15

This is the output of lsusb:

sam@sam-laptop:~$ lsusb
Bus 006 Device 001: ID 0000:0000
Bus 005 Device 002: ID 12d1:1001
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
sam@sam-laptop:~$
 
Hey sinsam7,

The fact that your message log doesn't show the card getting inserted is a worry...Is PCMCIA running ? (/etc/init.d/pcmcia restart) - Does another PCMCIA device work ?

Laterz

simsam7 said:
Hi Tazz_Tux

Thanks for the help. This is the output:

*snip*

sam@sam-laptop:~$ lsusb
Bus 006 Device 001: ID 0000:0000
Bus 005 Device 002: ID 12d1:1001
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
sam@sam-laptop:~$
 
Tazz_Tux said:
Hey sinsam7,

The fact that your message log doesn't show the card getting inserted is a worry...Is PCMCIA running ? (/etc/init.d/pcmcia restart) - Does another PCMCIA device work ?

Laterz
Hi Tazz_Tux

I first entered the pcmcia restart command (turns out Ubuntu wanted a different flavour), then ran the 'tail' command, then inserted the Huawei card. This is the output from 'tail':

sam@sam-laptop:~$ sudo /etc/init.d/pcmcia start
Password:
* Linux >= 2.6.13-rc1 requires pcmciautils instead of pcmcia-cs
sam@sam-laptop:~$ sudo /etc/init.d/pcmciautils restart
* Starting PCMCIA services... [ ok ]
sam@sam-laptop:~$ tail -f /var/log/messages
Jul 9 11:43:57 localhost syslogd 1.4.1#17ubuntu7: restart.
Jul 9 11:45:10 localhost gconfd (sam-4672): Exiting
Jul 9 11:45:10 localhost gconfd (sam-5770): starting (version 2.14.0), pid 5770 user 'sam'
Jul 9 11:45:10 localhost gconfd (sam-5770): Resolved address "xml:readonly:/etc /gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Jul 9 11:45:10 localhost gconfd (sam-5770): Resolved address "xml:readwrite:/ho me/sam/.gconf" to a writable configuration source at position 1
Jul 9 11:45:10 localhost gconfd (sam-5770): Resolved address "xml:readonly:/etc /gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Jul 9 11:45:10 localhost gconfd (sam-5770): Resolved address "xml:readonly:/var /lib/gconf/debian.defaults" to a read-only configuration source at position 3
Jul 9 11:45:10 localhost gconfd (sam-5770): Resolved address "xml:readonly:/var /lib/gconf/defaults" to a read-only configuration source at position 4
Jul 9 11:45:13 localhost shutdown[4160]: shutting down for system reboot
Jul 9 11:45:22 localhost exiting on signal 15

It would appear that it doesn't see it? The card does flash blue every second or so.

When inserting a wireless lan card into the same slot, it still does not change the output in the console window with the tail command, but when I go to 'Network Settings' it does show the wireless lan card & seems to work (i.e. it sees other active networks). The 'Active' light on the wireless lan does not blink though... strange..
 
This might help... I found "Huawei" listed as an unknown USB device, even though it goes into the pcmcia slot..
 
The logs from above are the same logs as the previous post ??? It seems your logs are not updating ?

Laterz

simsam7 said:
This might help... I found "Huawei" listed as an unknown USB device, even though it goes into the pcmcia slot..
 
SoftDev said:
simsam7,

try doing the pcmcia restart while the card is in the slot, that is how mine was picked up.
Hi SoftDev

Thanks for the advice, but no, that didn't work.... However, I am writing this using my HSDPA Huawei Data Card from Ubuntu Dapper Drake! By the way, it's even faster than using it on Windoze :-)

This is where I found the answer: http://ergonomica.wordpress.com/2006/05/05/pcmcia-3ggprs-connection-on-ubuntu-with-a-huawei-e600/

Just in case this link doesn't work, I'm going to copy the contents here:


3G/GPRS connection on Ubuntu with a HUAWEI E600 vs 1.5

Index:

Disclaimer
What was used
Methodology

Step 1 – Pluging in the card
Step 2 – Loading the PCMCIA Driver
Step 3 - Configuring your network
Step 4 - Activating/deactivating the connection

Remarks
Conclusions
Bibliography
Disclaimer:

Some terms used on this Blog might be trademarks or company names, owned by their respective owners, not by me.
All the information that i post is provided as an attempt to provide help, and knowledge. You may use this information at your own risk.
What was used:

* Computer with Linux Ubuntu. (Linux 2.6.12-10-386 #1 Sat Mar 11 16:13:17 UTC 2006 i686 GNU/Linux)
* pcmcia_cs installed (Ubuntu Brezzy Bager and Dapper Drake as it installed as default)
* pppconfig intalled (Ubuntu Brezzy Bager and Dapper Drake as it installed as default)
* 3G/GPRS PCMCIA card (mine is a HUAWEI E600 from Optimus - Kanguru)

Methodology:

In some cases the HUAWEI E600 firmware upgrade might be needed. To do so, it should used MS Windows, i didn't found any other way to update the card's firmware. The firmware can be downloaded from the Kanguru web site, apparently Huawei does not provide the firmware upgrade on their web site.
Step 1 – Pluging in the card:

With the card disconnected wright on the xTerminal write the fowling:

~$tail -f /var/log/messages

This will let know what is happening in the system. Now the card might be plugged in. Check the xTerminal to see the changes.
The feedback information can be one of two things:

* Case 1: The card driver was not loaded when it was inserted. Then it should be something like this on the xTerminal:



[4296903.314000] hub 5-0:1.0: USB hub found
[4296903.314000] hub 5-0:1.0: 1 port detected
[4296903.346000] PCI: Enabling device 0000:07:00.1 (0000 -> 0002)
[4296903.346000] ACPI: PCI Interrupt 0000:07:00.1 -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10[4296903.346000] PCI: Setting latency timer of device 0000:07:00.1 to 64
[4296903.346000] ohci_hcd 0000:07:00.1: NEC Corporation USB (#4)
[4296903.347000] ohci_hcd 0000:07:00.1: new USB bus registered, assigned bus number 6
[4296903.347000] ohci_hcd 0000:07:00.1: irq 10, io mem 0×21001000
[4296903.432000] hub 6-0:1.0: USB hub found
[4296903.432000] hub 6-0:1.0: 1 port detected
[4296903.555000] usb 5-1: new full speed USB device using ohci_hcd and address 2

* Case 2: The card driver was loaded when it was inserted. Then it should be something like this on the xTerminal:

May 2 05:10:19 localhost kernel: [4295017.626000] usbserial_generic 5-1:1.0: Generic converter detected
May 2 05:10:19 localhost kernel: [4295017.632000] usb 5-1: Generic converter now attached to ttyUSB0
May 2 05:10:19 localhost kernel: [4295017.632000] usbserial_generic 5-1:1.1: Generic converter detected
May 2 05:10:19 localhost kernel: [4295017.638000] usb 5-1: Generic converter now attached to ttyUSB1
May 2 05:10:19 localhost kernel: [4295017.638000] usbserial_generic 5-1:1.2: Generic converter detected
May 2 05:10:19 localhost kernel: [4295017.644000] usb 5-1: Generic converter now attached to ttyUSB2
May 2 05:10:19 localhost kernel: [4295017.645000] usbcore: registered new driver usbserial_generic
May 2 05:10:19 localhost kernel: [4295017.645000] drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0

Note: If this is your case, go to step 3. If you are using "Dapper Drake" (Ubuntu 6.06 RC), your card should be recognized, and the serial_cs loaded when you plug in the card.
Step 2 – Loading the PCMCIA Driver

To check for the vendor and product "ID" in the file /proc/bus/usb/devices, with the purpose of loading the card driver from the Kernel. It was needed to open a new xTerminal [CTRL+SHIFT+N] and type:

Note: that the other one is occupied with the systems report, and i choose to have it running at all times

~$ sudo cat /proc/bus/usb/devices

It should print several entrances, but the only one that matters for this purpose, is the one with the card manufactures. It can be check on the Manufacturer entrance.

T: Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1001 Rev= 0.00
S: Manufacturer=HUAWEI Technologies <–my card manufacturer
S: Product=HUAWEI Mobile
S: SerialNumber=HUAWEI DEVICE
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=128ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

Now it's time to load the PCMCIA serial port driver - serial_cs .

~$sudo modprobe serial_cs

~$sudo modprobe usbserial vendor=0×12d1 product=0×1001

Note: modprobe is a program to add/remove modules from the kernel.

The vendor and the product id in the previous line is for the Huawei E600, you should use the one that you have previously written down, with "0x" in the front because it is a hexadecimal number [1].
The xTerminal where log is being printed, should have something like this:

May 1 14:09:42 localhost usb.agent[8225]: usbcore: already loaded
May 1 14:12:02 localhost kernel: [4294993.412000] usbcore: registered new drive r usbserial
May 1 14:12:02 localhost kernel: [4294993.417000] drivers/usb/serial/usb-serial .c: USB Serial support registered for Generic
May 1 14:12:02 localhost kernel: [4294993.424000] usbserial_generic 5-1:1.0: Ge neric converter detected
May 1 14:12:02 localhost kernel: [4294993.430000] usb 5-1: Generic converter no w attached to ttyUSB0
May 1 14:12:02 localhost kernel: [4294993.430000] usbserial_generic 5-1:1.1: Ge neric converter detected
May 1 14:12:02 localhost kernel: [4294993.436000] usb 5-1: Generic converter no w attached to ttyUSB1
May 1 14:12:02 localhost kernel: [4294993.436000] usbserial_generic 5-1:1.2: Ge neric converter detected
May 1 14:12:02 localhost kernel: [4294993.442000] usb 5-1: Generic converter no w attached to ttyUSB2
May 1 14:12:02 localhost kernel: [4294993.442000] usbcore: registered new drive r usbserial_generic
May 1 14:12:02 localhost kernel: [4294993.442000] drivers/usb/serial/usb-serial .c: USB Serial Driver core v2.0

Note: There are three USB ports. Mine are called ttyUSB*, but it can also be called of ttyS* (where * may be 0,1,2). The USB0 is used for ppp connection, USB2 is used for network related tasks, and USB1 doesn't have any particular function[2].
Just to make sure, if the devices are mounted:

~$ls -l /dev/ttyUSB*

Step 3 - Configuring the network access

To configure the network access, i used pppconfig. Several other programs, such as wvdial, gnome-ppp, or others might be used, suit what is best for you. On my xTerminal i wrote down:

~$sudo pppconfig

And then i created a new connection, that i give the name "Kanguru".
notes (check the picture):

* I used Dynamic DNS and PAP Protocol.
* The connection speed should be set as high as possible, i tried the recommend by Harwick - 460800 [2].
* On the dialing mode i selected "tone".
* My user name was the card number, and the password was the PIN.
* the phone number is *99***1#, and appears to be international.
* In my case the program didn't found the connection port, so i used the /dev/ttyUSB0 (note: the capital letters are very important)

pppconfig properties provider
Step 4 - Activating/deactivating the connection

To activate the connection:

~$pon the_name_on_step_4

To deactivate the connection:

~$poff
 
To eject the card:

~$ sudo cardctl eject

Instead of always open your xTerminal to to eject and kill the network connection, you can simplify this action by making a script:

Open Gedit (or the favorite ascii text editor):

#!/bin/bash
#created by jose reis
foo=`gksudo -u root -k -m "Enter SUDO password to eject the PCMCIA CARD" /bin/echo "Do you have root access?"`
poff -a$NAUTILUS_SCRIPT_SELECTED_URIS
sudo cardctl eject

Save as "PCMCIA-eject", or the file name you wish, in [my_home] "~/.gnome2/nautilus-scripts". And then change the permissions (right click on the file, and then "Properties" on the tab "Permissions") to execute.

The script should be avaible if you right click on the Desktop, choose the scripts option, with the name you have gicen to the file, in this case PCMCIA-eject.

Note: It is important to eject the card before you remove it, if you fail to do so you may risk to damage your card.
Remarks

I saw lot's of techniques how to configure the network, since using gnome-ppp, constructing my own wvdial.conf file by hand from scratch, etc.. But none of them worked for me, so i decide to start searching for other solutions. And this is only one solution.
I did not upgrade my firmware, because, at this time, i do not have access to any machine with MS Windows and PCMCIA card connection, but it is highly recommended by Optimus to do so.

One major problem that i am yet to solve, is every time that i reboot my laptop i have to load the PCMCIA card driver, witch is very annoying. This problem is already solved in the "Dapper Drake" (Ubuntu 6.06 RC).
Conclusions

It does not a require hard work to load a PCMCIA card 3G/GPRS connection to work. But i do not think that it is not very user friendly, the amount of information that the user must deal with is big and a bit intimidating for the majority of the computer users, allied to the fact that the providers do not support any other OS than the Microsoft OS.

The most difficult part was to activate the connection to my provider, it toke me almost a day do accomplish that. The configuration strings that i found on the Internet did not worked for me.

Of the techniques that i read, this one, i believe, is the most easy to use technique, because you do not have to change/edit/create files by hand on your system, and pppconfig is a very simple to use program. I don't know if it works for others providers, i only know that it works for me.
Bibliography:

1.

Murdoc.l, "Vodafone Mobile Connect 3G/GPRS in Ubuntu Linux" 13:47, 9 March 2006 (UTC)
2.

Hardwick, Paul, "Vodafone 3G (UMTS) Howto, Version 1.5", 23/02/2006
3.

Engert, Kai "Linux and the Vodafone Mobile Connect (UMTS) 3G/GPRS Datacard", 2005-10-07
4.

Cecco, "Config. Vodafone connect card UMTS/GPRS" 17:23, 30 Jun 2005 (CEST)



This entry was posted on Friday, May 5th, 2006 at 3:41 am and is filed under Ubuntu Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
 
I am damn impressed with Linux in general & Ubuntu in particular! It might have taken me a little digging to get my datacard to work, but then again, the manufacturer didn't provide any Linux drivers! Try doing that on Windoze!!! I am permanently migrating to Linux as I'm typing this... loading VMWare for 3 proprietary apps that simply won't work under Wine & that's it! :-)

Thanks to Tazz_Tux's & other Linux posts, I actually tried to get this working and now I have a system that's even cooler than Windoze! Not to mention faster & more responsive!

Thanks a mil!
 
Welcome to our world !!!

You might want to look into cedega which is wine, but with all the other stuff added :)

Laterz !

simsam7 said:
I am damn impressed with Linux in general & Ubuntu in particular! It might have taken me a little digging to get my datacard to work, but then again, the manufacturer didn't provide any Linux drivers! Try doing that on Windoze!!! I am permanently migrating to Linux as I'm typing this... loading VMWare for 3 proprietary apps that simply won't work under Wine & that's it! :-)

Thanks to Tazz_Tux's & other Linux posts, I actually tried to get this working and now I have a system that's even cooler than Windoze! Not to mention faster & more responsive!

Thanks a mil!
 
Huawei 612 and Ubuntu 6.06

Hi

All this info is Great and the most complete ive found.

I have a Hawei E612 and I am using Ubuntu 6.06

I get all the system messages ok ttyUSB0..2 etc

I installed the wvdial.conf and adjusted to my provider,pin etc

when I dial the modem sets every thing up ok and connects but on passing controll to pppd I get the follwing

ATDT*99***1#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Jul 17 10:29:53 2006
--> Pid of pppd: 5696
--> Using interface ppp0
--> pppd: `[07][06][08]h[07][06][08][18]
--> pppd: `[07][06][08]h[07][06][08][18]
--> pppd: `[07][06][08]h[07][06][08][18]
--> pppd: `[07][06][08]h[07][06][08][18]
--> pppd: `[07][06][08]h[07][06][08][18]
--> pppd: `[07][06][08]h[07][06][08][18]
--> pppd: `[07][06][08]h[07][06][08][18]
--> pppd: `[07][06][08]h[07][06][08][18]
--> Disconnecting at Mon Jul 17 10:29:53 2006
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)

what could be the problem?

Regards and many thanks for a great set of info

Mark
 
Huawei 612 and Ubuntu 6.06

OK

my problem is solved

I have a dual sim package from the supplier and the main sim was activated but not the duplicate..... and guess what I was using the duplicate :-)

Everything works fine with this now !! Thanks a million :-D

BTW my provider is movistar.com in spain
 
Hey, I seem to have a problem that might be related to what wschoombie described. Earlier I have used 'Vodafone' as a provider, and it has worked. Now I have changed providers to one called 'TRE'. The problem seems connected to the PPP-protocol. I have debug texts from both providers:

First, Vodafone, the one that works:

PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>] sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0>
<ms-dns3 0.0.0.0>]
rcvd [LCP ProtRej id=0xf 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>] sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>] sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>] sent [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfReq id=0x4]
sent [IPCP ConfNak id=0x4 <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x4 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3
10.11.12.14>]
rcvd [IPCP ConfNak id=0x5 <addr 10.130.64.96> <ms-dns1 217.174.65.61> <ms-dns3
217.174.65.62>]
sent [IPCP ConfReq id=0x6 <addr 10.130.64.96> <ms-dns1 217.174.65.61> <ms-dns3
217.174.65.62>]
rcvd [IPCP ConfAck id=0x6 <addr 10.130.64.96> <ms-dns1 217.174.65.61> <ms-dns3
217.174.65.62>]
rcvd [IPCP ConfReq id=0x5]
sent [IPCP ConfAck id=0x5]
Could not determine remote IP address: defaulting to 10.64.64.64 local IP address 10.130.64.96 remote IP address 10.64.64.64
primary DNS address 217.174.65.61
secondary DNS address 217.174.65.62

Now lets compare that to the one that doesn't work, TRE:

PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>] sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0>
<ms-dns3 0.0.0.0>]
rcvd [LCP ProtRej id=0x1f 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
10.11.12.13> <ms-dns3 10.11.12.14>]
Modem hangup

As a layman on the ppp-protocol, It seems to me that TRE hangs up when pppd is getting too repetetive. While Vodafone does OK. Is this really the way pppd should work?

I have no options file to enclose, since I feel that I have tested most parameters with no apparent change in behaviour.

Help would be highly appreciated.
 
Hi all,

I received my Huawei E620 card today and once again I now have a problem getting the card to work under Suse 9.3.

Here is what I have done sofar:
1) Insert the card, do an rcpcmcia restart

2) The following is the displayed in var/log/messages
Jul 17 21:13:30 linux cardmgr[4385]: exiting
Jul 17 21:13:30 linux kernel: unloading Kernel Card Services
Jul 17 21:13:30 linux kernel: Linux Kernel Card Services
Jul 17 21:13:30 linux kernel: options: [pci] [cardbus] [pm]
Jul 17 21:13:30 linux kernel: ACPI: PCI interrupt 0000:02:06.0[A] -> GSI 10 (level, low) -> IRQ 10
Jul 17 21:13:30 linux kernel: Yenta: CardBus bridge found at 0000:02:06.0 [103c:099c]
Jul 17 21:13:30 linux kernel: Yenta: ISA IRQ mask 0x00f8, PCI irq 10
Jul 17 21:13:30 linux kernel: Socket status: 30000820
Jul 17 21:13:32 linux kernel: ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
Jul 17 21:13:32 linux kernel: PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
Jul 17 21:13:32 linux kernel: ACPI: PCI interrupt 0000:03:00.0[A] -> GSI 10 (level, low) -> IRQ 10
Jul 17 21:13:32 linux kernel: ohci_hcd 0000:03:00.0: OHCI Host Controller
Jul 17 21:13:32 linux kernel: PCI: Setting latency timer of device 0000:03:00.0 to 64
Jul 17 21:13:32 linux kernel: ohci_hcd 0000:03:00.0: irq 10, pci mem 0x4fc00000
Jul 17 21:13:32 linux kernel: ohci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 6
Jul 17 21:13:32 linux kernel: hub 6-0:1.0: USB hub found
Jul 17 21:13:32 linux kernel: hub 6-0:1.0: 1 port detected
Jul 17 21:13:32 linux kernel: PCI: Enabling device 0000:03:00.1 (0000 -> 0002)
Jul 17 21:13:32 linux kernel: ACPI: PCI interrupt 0000:03:00.1 -> GSI 10 (level, low) -> IRQ 10
Jul 17 21:13:32 linux kernel: ohci_hcd 0000:03:00.1: OHCI Host Controller
Jul 17 21:13:32 linux kernel: PCI: Setting latency timer of device 0000:03:00.1 to 64
Jul 17 21:13:32 linux kernel: ohci_hcd 0000:03:00.1: irq 10, pci mem 0x4fc01000
Jul 17 21:13:32 linux kernel: ohci_hcd 0000:03:00.1: new USB bus registered, assigned bus number 7
Jul 17 21:13:32 linux kernel: hub 7-0:1.0: USB hub found
Jul 17 21:13:32 linux kernel: hub 7-0:1.0: 1 port detected
Jul 17 21:13:32 linux cardmgr[8322]: watching 1 socket
Jul 17 21:13:32 linux kernel: cs: IO port probe 0xc00-0xcff: excluding 0xcf8-0xcff
Jul 17 21:13:32 linux kernel: cs: IO port probe 0x820-0x8ff: clean.
Jul 17 21:13:32 linux kernel: cs: IO port probe 0x800-0x80f: clean.
Jul 17 21:13:32 linux kernel: cs: IO port probe 0x3e0-0x4ff: clean.
Jul 17 21:13:32 linux kernel: cs: IO port probe 0x100-0x3af: clean.
Jul 17 21:13:32 linux kernel: cs: IO port probe 0xa00-0xaff: clean.
Jul 17 21:13:33 linux kernel: load_module: err 0xffffffef (dont worry)
Jul 17 21:13:34 linux kernel: usb 6-1: new full speed USB device using ohci_hcd and address 2

3) A cat /proc/bus/usb/devices reveal the following:
T: Bus=06 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1001 Rev= 0.00
S: Manufacturer=HUAWEI Technologies
S: Product=HUAWEI Mobile
S: SerialNumber=HUAWEI DEVICE
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=128ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

4) Doing a modprobe usbserial with the vendor and product id's specified does not do anything, no new messages in /var/log/messages

5) I know that with my previous Novatel card, I had to specify the I/O port range. This information I obtained from the cardctl config command. However the Huawei does not provide me with this information. I did read and tried some of simsam7s’ advice, but no luck.

Any help/advice would really be appreciated.
 
Hi all,

I managed to get the Huawei card working with Suse 9.3. Two things were missing:

1) I had to add only the following line to /etc/modprobe.conf.local
options usbserial vendor=0x12d1 product=0x1001
2) I then had to reboot

For a 2.6 kernel the line post-install usbcore modprobe usbserial is not needed.
 
Are you sure that the sim is active from GPRS/3G ?

Kimpost said:
Hey, I seem to have a problem that might be related to what wschoombie described. Earlier I have used 'Vodafone' as a provider, and it has worked. Now I have changed providers to one called 'TRE'. The problem seems connected to the PPP-protocol. I have debug texts from both providers:

First, Vodafone, the one that works:

PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>] sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0>
<ms-dns3 0.0.0.0>]
rcvd [LCP ProtRej id=0xf 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>] sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>] sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>] sent [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfReq id=0x4]
sent [IPCP ConfNak id=0x4 <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x4 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3
10.11.12.14>]
rcvd [IPCP ConfNak id=0x5 <addr 10.130.64.96> <ms-dns1 217.174.65.61> <ms-dns3
217.174.65.62>]
sent [IPCP ConfReq id=0x6 <addr 10.130.64.96> <ms-dns1 217.174.65.61> <ms-dns3
217.174.65.62>]
rcvd [IPCP ConfAck id=0x6 <addr 10.130.64.96> <ms-dns1 217.174.65.61> <ms-dns3
217.174.65.62>]
rcvd [IPCP ConfReq id=0x5]
sent [IPCP ConfAck id=0x5]
Could not determine remote IP address: defaulting to 10.64.64.64 local IP address 10.130.64.96 remote IP address 10.64.64.64
primary DNS address 217.174.65.61
secondary DNS address 217.174.65.62

Now lets compare that to the one that doesn't work, TRE:

PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>] sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0>
<ms-dns3 0.0.0.0>]
rcvd [LCP ProtRej id=0x1f 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins
10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
10.11.12.13> <ms-dns3 10.11.12.14>]
Modem hangup

As a layman on the ppp-protocol, It seems to me that TRE hangs up when pppd is getting too repetetive. While Vodafone does OK. Is this really the way pppd should work?

I have no options file to enclose, since I feel that I have tested most parameters with no apparent change in behaviour.

Help would be highly appreciated.
 
Status
Not open for further replies.
Top
Sign up to the MyBroadband newsletter
X