GCR
November 1st, 2006, 10:13 PM
Hey!
I am finally online with the latest and greatest from Ubuntu. After a week or so of trying to get online I managed to successfully find a proper way to compile and set the modules of my Lucent winmodem. If you've been trying to get the modem to work then this instructions *may* work. However, bear in mind that I am constantly learning new things and I'm no expert when it comes to Linux, though I have my fair amount of time working with it. So, do this at yor own risk, but if you do, hopefully it'll work.
NOTE TO MODS: I decided to create this since besides me there are several others having this same problem so I went ahead and made this HOWTO in order to make things easier for everyone. If there's any problem then please contact me and I'll make the necessary arrangements.
Step 1 - Download the proper driver
At first I tried with the ltmodem driver. But to no success got it to work. The cause was apparently some parameters that changed from newer 2.6 kernels and it failed to compile. Gentoo devs released a patch(I think) but even when I applied it I was not able to compile it.
so, here's the exact same driver I used:
http://www.barrelsoutofbond.org/downloads/martian/martian-full-20061005.tar.gz
Save it, and extract it.
Step 2 - Installation of the driver
After extracting the driver, you have to issue a couple of command in order to compile the modules. cd to the extraced directory. Then type the following:
sudo make all
Watch as the compilation flies by. If no errors are reported go on. If there is some error, make sure you have build-essential and linux-headers installed. I did this on a clean Edgy installation, so I used the packages that were included on the installation disk. Im not sure is updated ones will work.
If everything is OK, then time to install the drivers. In the terminal window, type:
sudo make install
Watch everything go by. If there were no errors reported, then the driver should be already installed. Now just a few more steps and you could be successfully using your Lucent modem in Edgy.
Step 3 - Loading the module
Simply type:
sudo modprobe martian_drv
in a terminal to load the martian_drv.
Just to make sure it loaded issue:
lsmod | grep martian
If everythings fine, keep goin' it's almost there.
Step 4 - Additional Steps
A couple more things are necessary. First, type the following and press enter no a terminal:
sudo martian_helper --daemon
Then make a link to the device by typing:
sudo ln -s /dev/ttySM0 /dev/modem
Now your /dev/modem links to the modem itself.
Step 5 - WVDIAL
Configure wvdial by issuing:
sudo wvdialconf
This will create a wvdial.conf in your /etc/ directory.
Then fire up a nano and edit /etc/wvdial.conf
sudo nano -w /etc/wvdial.conf
And change accordingly.
Below is my wvdial.conf so that you can use it as reference:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = *isp phone number*
New PPPD = yes
Stupid Mode = yes
Modem = /dev/ttySM0
Username = *username*
Password = *password*
Baud = 460800
NOTE:
This is my first HOWTO ever, so I am no expert in the field but I hope this can help many of you that, like me, are trying to configure your Lucent 56k modem in Edgy. If you have any questions, or suggestions feel free to reply or contact me whichever way and I'll do my best to help!
Good Luck =)
I am finally online with the latest and greatest from Ubuntu. After a week or so of trying to get online I managed to successfully find a proper way to compile and set the modules of my Lucent winmodem. If you've been trying to get the modem to work then this instructions *may* work. However, bear in mind that I am constantly learning new things and I'm no expert when it comes to Linux, though I have my fair amount of time working with it. So, do this at yor own risk, but if you do, hopefully it'll work.
NOTE TO MODS: I decided to create this since besides me there are several others having this same problem so I went ahead and made this HOWTO in order to make things easier for everyone. If there's any problem then please contact me and I'll make the necessary arrangements.
Step 1 - Download the proper driver
At first I tried with the ltmodem driver. But to no success got it to work. The cause was apparently some parameters that changed from newer 2.6 kernels and it failed to compile. Gentoo devs released a patch(I think) but even when I applied it I was not able to compile it.
so, here's the exact same driver I used:
http://www.barrelsoutofbond.org/downloads/martian/martian-full-20061005.tar.gz
Save it, and extract it.
Step 2 - Installation of the driver
After extracting the driver, you have to issue a couple of command in order to compile the modules. cd to the extraced directory. Then type the following:
sudo make all
Watch as the compilation flies by. If no errors are reported go on. If there is some error, make sure you have build-essential and linux-headers installed. I did this on a clean Edgy installation, so I used the packages that were included on the installation disk. Im not sure is updated ones will work.
If everything is OK, then time to install the drivers. In the terminal window, type:
sudo make install
Watch everything go by. If there were no errors reported, then the driver should be already installed. Now just a few more steps and you could be successfully using your Lucent modem in Edgy.
Step 3 - Loading the module
Simply type:
sudo modprobe martian_drv
in a terminal to load the martian_drv.
Just to make sure it loaded issue:
lsmod | grep martian
If everythings fine, keep goin' it's almost there.
Step 4 - Additional Steps
A couple more things are necessary. First, type the following and press enter no a terminal:
sudo martian_helper --daemon
Then make a link to the device by typing:
sudo ln -s /dev/ttySM0 /dev/modem
Now your /dev/modem links to the modem itself.
Step 5 - WVDIAL
Configure wvdial by issuing:
sudo wvdialconf
This will create a wvdial.conf in your /etc/ directory.
Then fire up a nano and edit /etc/wvdial.conf
sudo nano -w /etc/wvdial.conf
And change accordingly.
Below is my wvdial.conf so that you can use it as reference:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = *isp phone number*
New PPPD = yes
Stupid Mode = yes
Modem = /dev/ttySM0
Username = *username*
Password = *password*
Baud = 460800
NOTE:
This is my first HOWTO ever, so I am no expert in the field but I hope this can help many of you that, like me, are trying to configure your Lucent 56k modem in Edgy. If you have any questions, or suggestions feel free to reply or contact me whichever way and I'll do my best to help!
Good Luck =)