Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HOWTO: install, configure and run usb modem Sagem on Debian

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Post Reply
Message
Author
User avatar
ange
Posts: 59
Joined: 2008-02-01 17:23
Location: Nador, Morocco
Contact:

HOWTO: install, configure and run usb modem Sagem on Debian

#1 Post by ange »

How cool is Debian anyway! Running usb modem Sagem has never been easier.
It is even possible to configure it to netinstall then, so from the text without relying on any Internet connection.

Even with a minimal Debian installation , (etch in this case) the driver is already present. But the modem does not work because it lacks the firmware, which is not free, therefore, has not been packaged by default. we will go through three steps:

1.Installing ppp
2.Installing the firmware files
3.Setting up ADSL

1. Start by installing ppp. open a terminal (konsole) and just type:

Code: Select all

$su
# apt-get install ppp
**note: if you have windows, you can download it and installing it manually:

Code: Select all

$su
#dpkg -i ppp
2. Now we will install the firmware file. Start by downloading the firmware and save it on your computer.

3.create a directory for your modem firmware package.

Code: Select all

$ su
# mkdir /lib/firmware/ueagle-atm
Extract the content of the archive containing the firmware to the folder you have just created:

Code: Select all

# tar -zxvf ueagle-atm.zip /lib/firmware/ueagle-atm
4.The modem now works.We need now to reinitialize it. On a terminal type:

Code: Select all

#rmmod ueagle-atm
#modprobe ueagle-atm
5.Now we will configure Internet access. There are two files to be edited. Create the following file:

Code: Select all

#nano /etc/ppp/peers/atm-ueagle
6.And inside enter the following:

Code: Select all

user "username"
plugin pppoatm.so 8.35
noipdefault
usepeerdns
defaultroute
persist
noauth
"username" is your login name.

7.Then open your favourite editor:

Code: Select all

#nano /etc/ppp/chap-secrets
8.add the following line::

Code: Select all

"username" * "password" *

"username" is your login, "password" is your password.
9.Now is the time to test:

Code: Select all

# pppd call ueagle-atm
10.And after a few seconds, it must work! Type:

Code: Select all

$ ping google.com
And you should have a response!

11.Well now it is necessary to automate connection ... it is enough to create a script, in our example,we'll call it "start adsl"( you can give it any name you like).

Code: Select all

#nano /etc/init.d/start-adsl 
12.Enter the following information:

Code: Select all

#! /bin/bash
pppd call ueagle-atm
13.Save, go back and hit the prompt:

Code: Select all

# ln-s /etc/init.d/start-adsl/etc/rcS.d/S38start-adsl
# chmod 755 /etc/init.d/start-adsl
Oh yeah!!!, but it seems that it works!!!!!!!
my last word: I hope this howto will be useful and newbie friendly.
note: this howto has been posted with errors for the last week; now i have fixed the ones i noticed.
your thoughts make your reality

Post Reply