samiux
August 22nd, 2006, 07:58 PM
VERSION
Ubuntu version : Ubuntu 6.06.1 LTS (kernel version 2.6.15-26-686)
nozomi version : 2.1 beta
gcom (or comgt) version : 0.3
HARDWARES AND SOFTWARES
Card :
Manufacturer : Option
Serial Number : starts with 'NL'
Hardware Revision : 2.1
Band setting : Europe 900/1800MHz (4)
Broadband :
Home network : SmarToneVodafone
Location : Hong Kong
Phone number : *99***1#
APN : internet
AT strings : AT+CGDCONT=1, “IP”, “internet”
Connection speed : 1.8Mbps (download), 384Kbps (upload)
Software :
Compiler : build-essential
Kernel header : linux-headers
Drivers : “nozomi” and “gcom” (new name is “comgt")
download from http://www.pharscape.org
Dail up program : kppp
PROCEDURE
Install the compiler and kernel headers :
sudo apt-get install build-essential
sudo apt-get install linux-headers-2.6.15
sudo ln -s /lib/modules/2.6.15-26-686/build /usr/src/linux-headers-2.6.15-26-686
Delete the following line from nozomi.c :
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,14)
#define KERNEL_2_6_14
#endif
Install the drivers :
Extract the “nozomi” in a working directory and run “make” and “make install”.
(if the “make install” does not work, you should copy the “nozomi.ko” to /lib/modules/2.6.15-26-686/kernel/drivers/pci/hotplug/ and applied “sudo insmod /lib/modules/2.6.15-26-686/kernel/drivers/pci/hotplug/nozomi.ko”)
Extract the “gcom” in another working directory and run “make” and “make install”.
Install and configure the kppp :
sudo apt-get install kppp
sudo ln -s /dev/noz0 /dev/modem
Edit the kppprc at /home/<user name>/.kde/share/config with :
[Account0]
AccountingEnabled=0
AccountingFile=
Authentication=4
AutoDNS=1
AutoName=0
BeforeConnect=xterm -e /usr/local/bin/gcom -x -d /dev/noz0
BeforeDisconnect=
CallbackPhone=
CallbackType=0
Command=
DNS=
DefaultRoute=1
DisconnectCommand=
Domain=
ExDNSDisabled=0
Gateway=0.0.0.0
IPAddr=0.0.0.0
Name=Vodafone
Password=pass
Phonenumber=*99***1#
ScriptArguments=
ScriptCommands=
StorePassword=1
SubnetMask=0.0.0.0
Username=user
VolumeAccountingEnabled=0
pppdArguments=defaultroute,noipdefault,modem,usepe erdns,novj,noauth,crtscts,debug
[Account1]
pppdArguments=
[General]
DefaultAccount=Vodafone
DefaultModem=GT_3G_EDGE_HSDPA
NumberOfAccounts=2
NumberOfModems=3
PPPDebug=0
ShowLogWindow=1
[Graph]
Background=255,255,255
Enabled=true
InBytes=0,0,255
OutBytes=255,0,0
Text=0,0,0
[Modem0]
AnswerResponse=CONNECT
AnswerString=ATA
BusyResponse=BUSY
BusyWait=0
ConnectResponse=CONNECT
DLPResponse=DIGITAL LINE DETECTED
Device=/dev/ttyUSB0
DialString=ATD
Enter=CR
EscapeGuardTime=50
EscapeResponse=OK
EscapeString=+++
FlowControl=Hardware [CRTSCTS]
HangUpResponse=OK
HangupString=+++ATH
InitDelay=50
InitResponse=OK
InitString=ATZ
InitString1=AT+CGDCONT=1,"IP","internet"
Name=GLOBETROTTER3G
NoCarrierResponse=NO CARRIER
NoDialToneDetection=ATX3
NoDialToneResp=NO DIALTONE
PreInitDelay=50
RingResponse=RING
Speed=460800
Timeout=82
ToneDuration=70
UseLockFile=1
Volume=0
VolumeHigh=M1L3
VolumeMedium=M1L1
VolumeOff=M0L0
WaitForDialTone=1
[Modem1]
AnswerResponse=CONNECT
AnswerString=ATA
BusyResponse=BUSY
BusyWait=0
ConnectResponse=CONNECT
DLPResponse=DIGITAL LINE DETECTED
Device=/dev/ttyS4
DialString=ATD
Enter=CR
EscapeGuardTime=50
EscapeResponse=OK
EscapeString=+++
FlowControl=Hardware [CRTSCTS]
HangUpResponse=OK
HangupString=+++ATH
InitDelay=100
InitResponse=OK
InitString=AT+cfun=1
InitString1=at+cgdcont=1,"IP","internet"
Name=GTEDGE
NoCarrierResponse=NO CARRIER
NoDialToneDetection=AT
NoDialToneResp=NO DIALTONE
PreInitDelay=52
RingResponse=RING
Speed=57600
Timeout=60
ToneDuration=70
UseLockFile=1
Volume=1
VolumeHigh=
VolumeMedium=
VolumeOff=
WaitForDialTone=0
[Modem2]
AnswerResponse=CONNECT
AnswerString=ATA
BusyResponse=BUSY
BusyWait=0
ConnectResponse=CONNECT
DLPResponse=DIGITAL LINE DETECTED
Device=/dev/modem
DialString=ATD
Enter=CR
EscapeGuardTime=50
EscapeResponse=OK
EscapeString=+++
FlowControl=Hardware [CRTSCTS]
HangUpResponse=OK
HangupString=+++ATH
InitDelay=100
InitResponse=OK
InitString=AT+cfun=1
InitString1=at+cgdcont=1,"IP","internet"
Name=GT_3G_EDGE_HSDPA
NoCarrierResponse=NO CARRIER
NoDialToneDetection=AT
NoDialToneResp=NO DIALTONE
PreInitDelay=52
RingResponse=RING
Speed=460800
Timeout=60
ToneDuration=70
UseLockFile=1
Volume=1
VolumeHigh=
VolumeMedium=
VolumeOff=
WaitForDialTone=0
[WindowPosition]
WindowPositionConWinX=487
WindowPositionConWinY=498
WindowPositionStatWinX=811
WindowPositionStatWinY=454
Configure /etc/ppp/peers/kppp-options :
Uncomment the "#noauth" to "noauth" and save it.
OPERATION
Insert the Vodafone modem and execute the KPPP from the menu, no need to change the default setting on the KPPP control panel. That's all.
Make sure you disconnect the KPPP after surfing the net.
BEWARE
I am a newbie to Ubuntu and Linux. I don't know why I cannot modprobe the nozomi.ko in Ubuntu 6.06.1 (kernel version 2.6.15-26-686). I need to make a script (vodafone.up) to insmod the module and link the /dev/noz0 and /dev/modem. Hope someone can point it out for me, thank you.
#!/bin/bash
echo "loading nozomi module ..... "
sudo insmod /lib/modules/2.6.15-26-686/kernel/drivers/pci/hotplug/nozomi.ko
sudo ln /dev/noz0 /dev/modem
REFERENCE
http://www.ubuntuforums.org/showthread.php?t=203342&highlight=option+vodafone
http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,31/
http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,87/
Samiux
Hong Kong
Created on 15th August, 2006
Ubuntu version : Ubuntu 6.06.1 LTS (kernel version 2.6.15-26-686)
nozomi version : 2.1 beta
gcom (or comgt) version : 0.3
HARDWARES AND SOFTWARES
Card :
Manufacturer : Option
Serial Number : starts with 'NL'
Hardware Revision : 2.1
Band setting : Europe 900/1800MHz (4)
Broadband :
Home network : SmarToneVodafone
Location : Hong Kong
Phone number : *99***1#
APN : internet
AT strings : AT+CGDCONT=1, “IP”, “internet”
Connection speed : 1.8Mbps (download), 384Kbps (upload)
Software :
Compiler : build-essential
Kernel header : linux-headers
Drivers : “nozomi” and “gcom” (new name is “comgt")
download from http://www.pharscape.org
Dail up program : kppp
PROCEDURE
Install the compiler and kernel headers :
sudo apt-get install build-essential
sudo apt-get install linux-headers-2.6.15
sudo ln -s /lib/modules/2.6.15-26-686/build /usr/src/linux-headers-2.6.15-26-686
Delete the following line from nozomi.c :
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,14)
#define KERNEL_2_6_14
#endif
Install the drivers :
Extract the “nozomi” in a working directory and run “make” and “make install”.
(if the “make install” does not work, you should copy the “nozomi.ko” to /lib/modules/2.6.15-26-686/kernel/drivers/pci/hotplug/ and applied “sudo insmod /lib/modules/2.6.15-26-686/kernel/drivers/pci/hotplug/nozomi.ko”)
Extract the “gcom” in another working directory and run “make” and “make install”.
Install and configure the kppp :
sudo apt-get install kppp
sudo ln -s /dev/noz0 /dev/modem
Edit the kppprc at /home/<user name>/.kde/share/config with :
[Account0]
AccountingEnabled=0
AccountingFile=
Authentication=4
AutoDNS=1
AutoName=0
BeforeConnect=xterm -e /usr/local/bin/gcom -x -d /dev/noz0
BeforeDisconnect=
CallbackPhone=
CallbackType=0
Command=
DNS=
DefaultRoute=1
DisconnectCommand=
Domain=
ExDNSDisabled=0
Gateway=0.0.0.0
IPAddr=0.0.0.0
Name=Vodafone
Password=pass
Phonenumber=*99***1#
ScriptArguments=
ScriptCommands=
StorePassword=1
SubnetMask=0.0.0.0
Username=user
VolumeAccountingEnabled=0
pppdArguments=defaultroute,noipdefault,modem,usepe erdns,novj,noauth,crtscts,debug
[Account1]
pppdArguments=
[General]
DefaultAccount=Vodafone
DefaultModem=GT_3G_EDGE_HSDPA
NumberOfAccounts=2
NumberOfModems=3
PPPDebug=0
ShowLogWindow=1
[Graph]
Background=255,255,255
Enabled=true
InBytes=0,0,255
OutBytes=255,0,0
Text=0,0,0
[Modem0]
AnswerResponse=CONNECT
AnswerString=ATA
BusyResponse=BUSY
BusyWait=0
ConnectResponse=CONNECT
DLPResponse=DIGITAL LINE DETECTED
Device=/dev/ttyUSB0
DialString=ATD
Enter=CR
EscapeGuardTime=50
EscapeResponse=OK
EscapeString=+++
FlowControl=Hardware [CRTSCTS]
HangUpResponse=OK
HangupString=+++ATH
InitDelay=50
InitResponse=OK
InitString=ATZ
InitString1=AT+CGDCONT=1,"IP","internet"
Name=GLOBETROTTER3G
NoCarrierResponse=NO CARRIER
NoDialToneDetection=ATX3
NoDialToneResp=NO DIALTONE
PreInitDelay=50
RingResponse=RING
Speed=460800
Timeout=82
ToneDuration=70
UseLockFile=1
Volume=0
VolumeHigh=M1L3
VolumeMedium=M1L1
VolumeOff=M0L0
WaitForDialTone=1
[Modem1]
AnswerResponse=CONNECT
AnswerString=ATA
BusyResponse=BUSY
BusyWait=0
ConnectResponse=CONNECT
DLPResponse=DIGITAL LINE DETECTED
Device=/dev/ttyS4
DialString=ATD
Enter=CR
EscapeGuardTime=50
EscapeResponse=OK
EscapeString=+++
FlowControl=Hardware [CRTSCTS]
HangUpResponse=OK
HangupString=+++ATH
InitDelay=100
InitResponse=OK
InitString=AT+cfun=1
InitString1=at+cgdcont=1,"IP","internet"
Name=GTEDGE
NoCarrierResponse=NO CARRIER
NoDialToneDetection=AT
NoDialToneResp=NO DIALTONE
PreInitDelay=52
RingResponse=RING
Speed=57600
Timeout=60
ToneDuration=70
UseLockFile=1
Volume=1
VolumeHigh=
VolumeMedium=
VolumeOff=
WaitForDialTone=0
[Modem2]
AnswerResponse=CONNECT
AnswerString=ATA
BusyResponse=BUSY
BusyWait=0
ConnectResponse=CONNECT
DLPResponse=DIGITAL LINE DETECTED
Device=/dev/modem
DialString=ATD
Enter=CR
EscapeGuardTime=50
EscapeResponse=OK
EscapeString=+++
FlowControl=Hardware [CRTSCTS]
HangUpResponse=OK
HangupString=+++ATH
InitDelay=100
InitResponse=OK
InitString=AT+cfun=1
InitString1=at+cgdcont=1,"IP","internet"
Name=GT_3G_EDGE_HSDPA
NoCarrierResponse=NO CARRIER
NoDialToneDetection=AT
NoDialToneResp=NO DIALTONE
PreInitDelay=52
RingResponse=RING
Speed=460800
Timeout=60
ToneDuration=70
UseLockFile=1
Volume=1
VolumeHigh=
VolumeMedium=
VolumeOff=
WaitForDialTone=0
[WindowPosition]
WindowPositionConWinX=487
WindowPositionConWinY=498
WindowPositionStatWinX=811
WindowPositionStatWinY=454
Configure /etc/ppp/peers/kppp-options :
Uncomment the "#noauth" to "noauth" and save it.
OPERATION
Insert the Vodafone modem and execute the KPPP from the menu, no need to change the default setting on the KPPP control panel. That's all.
Make sure you disconnect the KPPP after surfing the net.
BEWARE
I am a newbie to Ubuntu and Linux. I don't know why I cannot modprobe the nozomi.ko in Ubuntu 6.06.1 (kernel version 2.6.15-26-686). I need to make a script (vodafone.up) to insmod the module and link the /dev/noz0 and /dev/modem. Hope someone can point it out for me, thank you.
#!/bin/bash
echo "loading nozomi module ..... "
sudo insmod /lib/modules/2.6.15-26-686/kernel/drivers/pci/hotplug/nozomi.ko
sudo ln /dev/noz0 /dev/modem
REFERENCE
http://www.ubuntuforums.org/showthread.php?t=203342&highlight=option+vodafone
http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,31/
http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/t,87/
Samiux
Hong Kong
Created on 15th August, 2006