Linux - HOWTO (With Stats)

Status
Not open for further replies.
Almost there ..

Hi maxmundi

I'm on Ubuntu Hoary, and see almost exactly the same as you, except that
device nodes are still not created.

maxmundi said:
Since I'm runnning udev device is created under:

Code:
/dev/tts/USB0

I'm also running udev, but there is no /dev/tts, and
Code:
find /dev | grep US
comes up empty, even though the logfile says "...attached to ttyUSB0" etc.

Any suggestions would be very welcome.
 
Closer ..

I found out how to create the missing device nodes from here:
http://www.pharscape.org/index.php?option=content&task=view&id=30

Unfortunately they go away when I reboot.

It looks like the card comes up OK, saying "CHAP authentication succeeded",
but pppd dies after saying "IPCP: timeout sending Config-Requests", with exit code 10.

I'll dig some more when I have time ..
 
Setserial on Novatel

Tazz_Tux said:
FAQ:

Q) My Novatel card is very slow - +-800 bytes per second

A) Try running "setserial -a /dev/ttyS1 low_latency spd_warp" - replace /dev/ttyS1 with your port

If you are getting fed-up of typing in the setserial command evertime you want to connect you can try this:

Edit the /etc/rc.d/rc.local file through:

Code:
vi /etc/rc.d/rc.local

and add the line
Code:
setserial -a /dev/ttyS1 low_latency spd_warp

replacing /dev/ttyS1 with your port. Everytime you bootup this command will run. Make sure your card is inserted before bootup.

Enjoy!:D
 
Or in /etc/ppp/ip-up.local just add the setserial command in there :)

Will run it everytime the connection is made - don't really need the speed to send a couple of AT commands :)
 
Hi Tazz Tux,
I used your help to try and get my MTN card working. Well, it connects to the net, but most of the time I don't even get 1Kb transfer rates. It's extreamly slow. I obviously changed Init4(?) in the wvdial.conf file not to point to Vodacom but to MTN.

Any suggestions? I use Suse 10.0 on a Acer Aspire 3610 laptop. When I dual boot into Windoze, it's good speed.

Any way of looking at the download speed when using the wvdial file directly without using Kinternet?

TIA,
KMA
 
KMA said:
I used your help to try and get my MTN card working

LOL - maybe that is the problem right there ! :)

I havn't played with the MTN cards but I can only assume that the setserial command will make the diffs. See a couple of posts up or the FAQ at the start.

HTH

Laterz !!!
 
I just tried it and it's better, but at GPRS I expected better. I average 6.8 KB which is a whole lot better than it was.

BTW, When I use your wvdial script, I am having problems getting the DNS resolved almost 80% of the time. When I use KInternet, I don't have the same problem.

Any ideas?

KMA
 
Hey KMA,

That could be due to signal etc. Does Kinternet even test DNS ? My script has nothing to do with the DNS etc. - they are assigned from the network (unless you have usepeerdns=no in wvdial.conf)

HTH

Laterz !!!

KMA said:
I just tried it and it's better, but at GPRS I expected better. I average 6.8 KB which is a whole lot better than it was.

BTW, When I use your wvdial script, I am having problems getting the DNS resolved almost 80% of the time. When I use KInternet, I don't have the same problem.

Any ideas?

KMA
 
KInternet doesn't test the DNS, but It is assigned/used correctly. I can use my webbrowser, but with wvdial.conf I can't ping and URL name.
Is "usepeerdns=no" in wvdial.conf or /etc/sysconfig/network/config ?

Thanks,
 
Hey KMA,

It is part of PPP and should be in /etc/ppp/config or /etc/ppp/peers/wvdial. If is normally active by default.

Laterz !

KMA said:
KInternet doesn't test the DNS, but It is assigned/used correctly. I can use my webbrowser, but with wvdial.conf I can't ping and URL name.
Is "usepeerdns=no" in wvdial.conf or /etc/sysconfig/network/config ?

Thanks,
 
Cannot determine remote IP address (ubuntu, breezy)

Hi there Tazz_Tux,

thanks for all the good linux info!

I'm trying to get a Vodacom Novatel card going in Ubuntu Breezy using your wvdial.conf. Everything seems to go OK, except for (in /var/log/syslog):

pppd[2837]: Could not determine remote IP address: defaulting to 10.64.64.64
D

It configures the DNS servers, everything fine, and according to the lights on the card it works and is connected as expected. But with the error above, of course I can't talk to the other end of the ppp connection...

I'd appreciate any ideas...

Thanks
-i
 
Howzit,

I can't remember if I reported this error to Vodacom (could have slipped my mind) but it's not to critical. The only thing is that you can't ping the remote side :(

Windows just silently ignores this

Laterz !!!

iwan said:
Hi there Tazz_Tux,

pppd[2837]: Could not determine remote IP address: defaulting to 10.64.64.64

But with the error above, of course I can't talk to the other end of the ppp connection...

I'd appreciate any ideas...

Thanks
-i
 
Bogus DNS servers: 10.11.12.13

Ah, thanks - I see.

I also get an intermittent problem that it gives me bogus DNS servers upon connecting: 10.11.12.13 (and .14). Does this sound familiar?

-i
 
Sure does - my pppd check the DNS Server after connecting and kills the connection and reconnects if a failure is detected. Check if yours can't do the same (normally in /etc/ppp.ip.up.local or something like that)

Laterz !!!

iwan said:
Ah, thanks - I see.

I also get an intermittent problem that it gives me bogus DNS servers upon connecting: 10.11.12.13 (and .14). Does this sound familiar?

-i
 
AT commands?

Another Q...

I'm curious to know the meaning of (in your wvdial.conf):

Init6 = AT+CGEQMIN=1,4,64,384,64,384
Init7 = AT+CGEQREQ=1,4,64,384,64,384

I suppose GCEQREQ is the connect speed you request and GCEQMIN is the minumum?

And I would love to know the meaning of each number in the sequence?

Thanks!
-i
 
Hey iwan,

3G is capable of giving you 3 Type Of Services and "we - the public" is meant to use them. These 3 are 64,144 and 384. If you take one "cell", it can handle 5 384k connections before cell breathing (for our demo) and number 6 comes along and connects with these settings:

AT+CGEQMIN=1,4,64,64,64,64
AT+CGEQREQ=1,4,64,384,64,384

the network *should* drop the users connection to 144kbits. I have not played with this on SA networks so I can't comment on how they work etc. I read this in a spec one sleepless night :)

So basiclly, we can request a speed for what we need to do - if you wanna get your notebook to download your emails while you are having dinner, you can request 144kbits and let it run :)

The MIN command is the utmost min. service that you "can" get by with - in my e.g that was 64k.
The REQ command is the "I would like to connect at this speed please" - in my e.g that was 384k.

I can't remember why you have to "set" it twice on the command, but I know that the "leading" 64 is the upload speed, currently limited to 64k on SA networks.

Geez that was a long bla bla bla :D

Laterz !!!

iwan said:
Another Q...

I'm curious to know the meaning of (in your wvdial.conf):

Init6 = AT+CGEQMIN=1,4,64,384,64,384
Init7 = AT+CGEQREQ=1,4,64,384,64,384

I suppose GCEQREQ is the connect speed you request and GCEQMIN is the minumum?

And I would love to know the meaning of each number in the sequence?

Thanks!
-i
 
Mmm, slow connection speeds...

Thanks, bla away, the info is very useful.

Where could I lay my hands on such a spec?

I am struggling with a slow connect speed. Sometimes it says CONNECT 57600, sometimes just CONNECT, but the perceived speed is always slow. I am admittedly in an area with bad reception, but on windows I get good speeds... I am wondering if it does not have something to do with those settings.

Thanks!
-i
 
Hey iwan,

What connect string you using ?

Laterz

iwan said:
Thanks, bla away, the info is very useful.

Where could I lay my hands on such a spec?

I am struggling with a slow connect speed. Sometimes it says CONNECT 57600, sometimes just CONNECT, but the perceived speed is always slow. I am admittedly in an area with bad reception, but on windows I get good speeds... I am wondering if it does not have something to do with those settings.

Thanks!
-i
 
Tazz_Tux said:
What connect string you using ?

Hi,

mmm, I don't know what wvdial does by default - I just use your wvdial.conf as is and dial with "wvdial novatel internet 3gonly 384k".

But, I've also set up ppp using the normal stuff (/etc/ppp/peers/xxx, and /etc/chat-scripts/xxx). In the chat-script I've used the init strings from your wvdial.conf as they would be for the above invocation of wvdial. In here I just use the connect string "CONNECT \d\c".

I get the same results either way.

Tx
-i
 
Status
Not open for further replies.
Top
Sign up to the MyBroadband newsletter
X