Linux - HOWTO (With Stats)

Status
Not open for further replies.
The catch is we don't know what/how ubuntu is dialing up. See if you have "wvdial" and "wvdialconf" on the livecd. We can try and play with those and have a bit more success.

Laterz !

I tried your suggestions. Results below:

*snip*

I thought that the script AT&FH0M0^M^M might be the problem but I don't know how to change it:( Maybe I am wrong:confused:
 
Ok - that is already a winner. Download the wvdial.conf file from the start of this thread. Place the file in /etc (if you can - otherwise we will make a diff plan). We can then edit one of the sections in there and change it to suite your phone. I think there is already an E1000 section that will suite our needs.

Once that is done a simple command like
Code:
wvdial phone internet 3gonly
will get you connected. Replacing "phone" with what ever you call the section :)

Laterz !

It has the wvdial file but not the wvdialconf.
 
tazz.

I'm really struggling with internet connection sharing. as previously mentioned, I've tried your howto, and further instructions but nothing seems to work. the machine on the network that requires the shared connection is a XP machine. I could have sworn that i saved a log of the messages linux gives when i try to set it up, but it doesn't seem to be on my flash drive this morning... Will post log tomorrow. In the mean time, i can tell you that it says libxxx_masq is unknown or undefined... (I could have posted a log previously come to think). Any further suggestions, or anything I am supposed to have set up before this will work?
 
tazz.

I'm really struggling with internet connection sharing. as previously mentioned, I've tried your howto, and further instructions but nothing seems to work. the machine on the network that requires the shared connection is a XP machine. I could have sworn that i saved a log of the messages linux gives when i try to set it up, but it doesn't seem to be on my flash drive this morning... Will post log tomorrow. In the mean time, i can tell you that it says libxxx_masq is unknown or undefined... (I could have posted a log previously come to think). Any further suggestions, or anything I am supposed to have set up before this will work?

I get the same msg....
 
See if iptables is installed on your system :)

tazz.

I'm really struggling with internet connection sharing. as previously mentioned, I've tried your howto, and further instructions but nothing seems to work. the machine on the network that requires the shared connection is a XP machine. I could have sworn that i saved a log of the messages linux gives when i try to set it up, but it doesn't seem to be on my flash drive this morning... Will post log tomorrow. In the mean time, i can tell you that it says libxxx_masq is unknown or undefined... (I could have posted a log previously come to think). Any further suggestions, or anything I am supposed to have set up before this will work?
 
PPP connect errors with GPRS card

Good day everybody.

This is my first post. Go easy please.

I have a problem trying to setup a GPRS connection in Linux.
Can someone please assist me with my troubleshooting.

My machine : Mandriva Linux 2006
PCMCIA Vodafone Mobile Connect card (Option) GPRS only
Kernel :
Linux localhost 2.6.12-12mdksmp #1 SMP Fri Sep 9 17:43:23 CEST 2005
i686 AMD Opteron(tm) Processor 144 unknown GNU/Linux

Scripts : I am using pppd and chat to dial with my own scripts.

I am not sure of whether Vodacom requires pap or chap for authentication.

I am posting the Log output :

OKDialing...


OK

CONNECTSerial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/modem
rcvd [LCP ConfReq id=0x3 <mru 1600> <auth pap> <magic 0x5fb8dec7> <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x3 <auth pap> <magic 0x5fb8dec7>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0xa0000> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x4 <mru 1600> <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfAck id=0x4 <mru 1600> <asyncmap 0x0> <pcomp> <accomp>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [LCP ProtRej id=0x1 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f 32]
rcvd [IPCP ConfRej id=0x1 <ms-dns1 0.0.0.0> <ms-dns1 0.0.0.0>]
Received bad configure-rej: 81 06 00 00 00 00 81 06 00 00 00 00



The debug terminates with the error ,


IPCP: timeout sending Config-Requests
sent [LCP TermReq id=0x2 "No network protocols running"]
rcvd [LCP TermAck id=0x2]
Connection terminated.
Disconnecting from Vodacom
Serial link disconnected.

Thanks,
 
Hauwei 620 Linux Drivers

Does anybody know if there are any Linux drivers or Linux software available?
 
Ok - that is already a winner. Download the wvdial.conf file from the start of this thread. Place the file in /etc (if you can - otherwise we will make a diff plan). We can then edit one of the sections in there and change it to suite your phone. I think there is already an E1000 section that will suite our needs.

Once that is done a simple command like
Code:
wvdial phone internet 3gonly
will get you connected. Replacing "phone" with what ever you call the section :)

Laterz !

Hi

It didn't allow me to paste the wvdial.conf file in the etc folder. But it does allow me to paste on the desktop. I guess we have to go to the other plan you mentioned:)
 
Hey topper,

This might sound very stupid, but it would appear that your sim ins't data active. Does the sim work under windows ?

About the auth. you can uses pap and just send it anything (I normally send "username" and "password" :) )

Hope that helps !

Laterz !

Good day everybody.

This is my first post. Go easy please.

I have a problem trying to setup a GPRS connection in Linux.
Can someone please assist me with my troubleshooting.

My machine : Mandriva Linux 2006
PCMCIA Vodafone Mobile Connect card (Option) GPRS only
Kernel :
Linux localhost 2.6.12-12mdksmp #1 SMP Fri Sep 9 17:43:23 CEST 2005
i686 AMD Opteron(tm) Processor 144 unknown GNU/Linux

Scripts : I am using pppd and chat to dial with my own scripts.

I am not sure of whether Vodacom requires pap or chap for authentication.

I am posting the Log output :

OKDialing...


OK

CONNECTSerial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/modem
rcvd [LCP ConfReq id=0x3 <mru 1600> <auth pap> <magic 0x5fb8dec7> <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x3 <auth pap> <magic 0x5fb8dec7>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0xa0000> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x4 <mru 1600> <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfAck id=0x4 <mru 1600> <asyncmap 0x0> <pcomp> <accomp>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [LCP ProtRej id=0x1 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f 32]
rcvd [IPCP ConfRej id=0x1 <ms-dns1 0.0.0.0> <ms-dns1 0.0.0.0>]
Received bad configure-rej: 81 06 00 00 00 00 81 06 00 00 00 00



The debug terminates with the error ,


IPCP: timeout sending Config-Requests
sent [LCP TermReq id=0x2 "No network protocols running"]
rcvd [LCP TermAck id=0x2]
Connection terminated.
Disconnecting from Vodacom
Serial link disconnected.

Thanks,
 
Hey sky,

You could place it somewhere else and just use the following command then...
Code:
wvdial -C /my/config/file.conf bla

Laterz !

Hi

It didn't allow me to paste the wvdial.conf file in the etc folder. But it does allow me to paste on the desktop. I guess we have to go to the other plan you mentioned:)
 
eeekkk - it would appear that they havn't released new firmware for the card...I will see if I can find a way to tell what firmware you have (other than using the dash ;) )

Laterz !

What is the latest firmware version for the Huawei E620? Where can I download it?
 
eeekkk - it would appear that they havn't released new firmware for the card...I will see if I can find a way to tell what firmware you have (other than using the dash ;) )

AT+CGMR will display the current firmware version.
The MTN branded cards seem to have all come with version 11.16.08.01.00.
Anyone seen any other versions in the wild?
 
Tazz.

Log output as mentioned...

Code:
root@Sevenworth:~# iptables -A POSTROUTING -o ppp0 -j MASQ
iptables v1.3.3: Couldn't load target `MASQ':/lib/iptables/libipt_MASQ.so: cannot open shared object  file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

Ideas?
SW
 
What does "iptables -A POSTROUTING -o ppp0 -j MASQUERADE" give you ?

Tazz.

Log output as mentioned...

Code:
root@Sevenworth:~# iptables -A POSTROUTING -o ppp0 -j MASQ
iptables v1.3.3: Couldn't load target `MASQ':/lib/iptables/libipt_MASQ.so: cannot open shared object  file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

Ideas?
SW
 
PPP errors with GPRS in Linux

I just wanted to say thanks to Tazz for the advice.

The problem however, was with my username and password.

I assumed that since in Windows, it connects even when you enter nothing for the username
and password, you can try the same in linux. Unfortunately my logic was wrong.

I just entered some bogus values and I was able to connect.

A quick question, After I connect I get these errors frequently. Anybody knows what it means.

appear to have received our own echo-reply!
appear to have received our own echo-reply!

And lastly, after you establish a ppp connection, do you just let it run in the terminal and when you are
done, close the session with ctrl-c ?

Topper
 
Status
Not open for further replies.
Top
Sign up to the MyBroadband newsletter
X