Linux USB IPWireless configuration

ejbengine

Well-Known Member
Joined
May 31, 2005
Messages
498
Reaction score
0
I recently installed Fedora Core 5.
dmesg| grep 'usb' log shows that my modem is bound to node /dev/ttyUSB0 as shown below :

usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver libusual
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usb usb3: configuration #1 chosen from 1 choice
usb 1-1: new low speed USB device using ohci_hcd and address 3
usb 1-1: configuration #1 chosen from 1 choice
input: USB HID v1.00 Mouse [PS/2+USB Mouse] on usb-0000:00:02.0-1
usb 1-2: new full speed USB device using ohci_hcd and address 4
usb 1-2: configuration #1 chosen from 2 choices
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for IPWireless converter
usb 1-2: IPWireless converter converter now attached to ttyUSB0
usbcore: registered new driver ipwtty
drivers/usb/serial/ipw.c: IPWireless tty driver v0.3

Following instructions at http://www.neology.co.za/support/index.php?page=MyWirelessLinuxDrivers , I setup the 2 scripts :

/etc/ppp/peers/sentech
noipdefault
/dev/ttyUSB0
115200
defaultroute
usepeerdns
hide-password
lcp-echo-interval 60
lcp-echo-failure 3
connect "/usr/sbin/chat -v -f /etc/chatscripts/sentech"
noauth
persist
mtu 1400
user "xxxxx"
maxfail 0
deflate 15

and

/etc/chatscripts/sentech

TIMEOUT 30
ABORT "NO CARRIER"
ABORT "BUSY"
ECHO ON
SAY "Dialling sentech...\n"
"" \rAT
"OK-+++\C-OK" ATH0
OK ATZ
OK AT+CGDCONT=1,"PPP","sentech.co.za",<myusername>,<mypassword>",0,0
OK ATD*99#
SAY "WAiting up to 30 seconds for connection ..."
CONNECT ""
SAY "Connected.."




Thereafter , I ran "pppd debug call sentech" , checked the /var/log/ppp directory for logs.The only log present ,called connect-errors had :
"Dialling sentech..." and nothing else.

What am I doing wrong?
 
See if you can install a package called wvdial. Edit the /etc/wvdial.conf file and change the phone number to *99# and set the modem to /dev/ttyUSB0

Should work without problems.
 
aquadog said:
See if you can install a package called wvdial. Edit the /etc/wvdial.conf file and change the phone number to *99# and set the modem to /dev/ttyUSB0

Should work without problems.

Thanx.Will try that tonight.
 
wvdial was already installed with my FC5 installation.Edited the /etc/wvdial.conf file to look like as shown below :

[Modem0]
Modem = /dev/ttyUSB1
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
Init2 = ATM0
FlowControl = NOFLOW
Username = myusername
Password = mypassword
Phone=*99#
Stupid Mode = 1
Init3 = AT+CDGCONT=1,"IP","sentech.co.za"
Dial Attempts = 3

I then created a sytem link between /dev/modem and /dev/ttyUSB0.
However running wvdial gave me the following error message :

--> WvDial: Internet dialer version 1.54.0
--> Warning: section [Dialer Defaults] does not exist in wvdial.conf.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.

:mad:
 
To be honest, I had it running on linux with the USB cable, but back then the driver was unstable and it's actually a lot better to use it with PPPoE. You will miss out on countless problems/frustration by using ethernet.
 
Top
Sign up to the MyBroadband newsletter
X