Monday, May 26, 2008

Asus EEE connection

I just managed to set up once again the connection on my asus eee. As I had completely forgot how it was done, I'm going to store all the data here, for future reference.
The settings are for Wind, you probably have to change "internet.wind" with the APN of your provider.
1. Create a dialup connection profile for your mobile.

2. Edit /etc/ppp/peers/dialup1 so as to obtain this code:

#
# This file was generated by xandrosncs tools.
#
ipparam "dialup1"
name "pjkoij"
remotename "dialup1_XANDROS_NCS_REFERENCE"

connect "/opt/xandros/lib/libxandrosncs/bin/xandrosncs-pppconnect-chat dialup1"

noauth
hide-password
noipdefault
usepeerdns

modem /dev/ttyACM0
460800

/dev/ttyACM0

3. Edit /etc/chatscripts/dialup1 thus:

#
# This file was generated by xandrosncs tools.
#
ABORT VOICE
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "NO DIAL TONE"
TIMEOUT 120
"" ATZ
OK ATV1E0
OK AT+CGDCONT=1,"IP","internet.wind"
OK ATD*99#
CONNECT \c

No comments: