LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-31-2005, 11:56 AM   #1
mindatwork
Member
 
Registered: Nov 2003
Location: Seville (Spain)
Distribution: Mandrake 10.1 / w2k-xp (evil empire)
Posts: 32

Rep: Reputation: 15
Found the driver, but how install it?


Hi friends. Finally i have found the driver for my usb adsl modem (Ipm Datacom)
but the problem is that i am an absolute newbie and don't have any idea of command line, so i just don't know what to do now.
Basically the installation instructions tell this:

"Installing Modem Driver
-----------------------

# gunzip ipm-speedweb-usb-x-1.0.tar.gz

# tar -xf ipm-speedweb-usb-x-1.0.tar

# cd ipm-adsl-modem

# cd SpeedWeb-USB


Loading Modem Driver
--------------------

The module accepts several parameters that can be set when the module is loaded.

Syntax:
insmod ./GSPNModem {Module Options} (Command to be executed from directory SpeedWeb-USB)

to load the module and set the WAN VCI/VPI to 35/8 in LLC Mode:
# insmod ./GSPNModem Rfc2364Mode=1 Rfc2364Vci=35 Rfc2364Vpi=8


Module Options
--------------
Rfc1483Mode default: 0
Rfc1483Vci default: 88
Rfc1483Vpi default: 0
Rfc2364Mode default: 0
Rfc2364Vci default: 116
Rfc2364Vpi default: 0

RFC1483_MODE
RFC1483_MODE_BRIDGED_ETH_LLC = 0,
RFC1483_MODE_BRIDGED_ETH_VC = 1,
RFC1483_MODE_ROUTED_IP_LLC = 2,
RFC1483_MODE_ROUTED_IP_VC = 3,
RFC1483_MODE_RFC1577_ENCAP = 4

RFC2364_MODE
RFC2364_MODE_VC = 0,
RFC2364_MODE_LLC = 1


To get Modem Status the control panel application can be used as given below.
# ./gsi_cfg eth1 -s ( The ethernet device depends on what has been configured on the system )

Alternatively to determine if the driver has loaded and is in data mode:
# dmesg (or file /var/log/messages)

gp: USB Modem Driver Build (May 9 2003-18:09:48) is Registered

gp**** Media Connect ****
gp Link established (800/192)
^^^ ^^^
^ ^
^ Upstream rate
Downstream rate


Unloading the module & the firmware loader
------------------------------------------

To unload an unused module:
# rmmod GSPNModem

You may need to exit or disconnect any program current using the module
before it will unload. If the module was configured for LAN, shutdown
the ethernet interface first:
# ifconfig eth1 down

If the module was configured as a WAN device, you may need to disconnect
the PPP daemon (pppd) from the TTY interfaces. Do this by terminating
the PPP daemon:
# killall pppd


WAN Configuration
-----------------

The PPP daemon (pppd) talks to the driver over TTY devices. Before the
driver can be used, the devices /dev/ttyG0 and /dev/cug0 need to be
created. This can be performed by entering the following from the command line:

# mknod /dev/ttyG0 c 43 0
# chown root.uucp /dev/ttyG0
# chmod 0660 /dev/ttyG0

# mknod /dev/cug0 c 44 0
# chown root.uucp /dev/cug0
# chmod 0660 /dev/cug0

Next, PPP needs to be configured as a client to connect to a PPP
server. The PPP server should already be created, and a dialup
user configured. For this example, the user name is "test_user",
and the user password is "test_password".

Add the following (delete the leading spaces, and replace the spaces
with tabs) to: "/etc/ppp/pap-secrets" and "/etc/ppp/chap-secrets"
"test_user" * "test_password"

Create a PPP description file: "/etc/ppp/peers/adsl" that contains:
user "test_user"
ttyG0
sync
mtu 1490
mru 1490
debug

To initiate a WAN connection execute the following:
# pppd call adsl

To test the PPP connection :
Do ifconfig -a to get the IPADDRESS for the ppp0 interface.
# ifconfig -a"
-------------------------------------------------------------------

I tried to start the installation by myself without success.
Can anyone translate this into christians language??:(
A little bit resumed i think will be ok. Thank you very much
 
Old 03-31-2005, 04:49 PM   #2
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
following instructions from start to finish should work. For command line, all the stuff they want entered in command line is shown as a line starting with " $" or "#".

"$" signifies you enter as regular user, "#" signifies you enter as root.

If you open a terminal session in kde, you can simply cut and paste the command that is after, but not including the user signification "# or $".

If your command prompt is "$" to change to "#", simply type "su" and enter, give root password and command line will now show "#". To go back to "$" type "exit" and return.

for example (the section loading the driver):
Code:
[don@don don]$ su
Password:
[root@don don]# insmod ./GSPNModem Rfc2364Mode=1 Rfc2364Vci=35 Rfc2364Vpi=8
insmod: can't read './GSPNModem': No such file or directory
[root@don don]# exit
exit
[don@don don]$
I don't have the file ./GSPNModem on my pc, so I show an error, but this is just so you see to get an idea of what the instructions expect of you, - su for root permission, then copy commands (without the # sign), I simply, highlighted the command (insmod ./GSPNModem Rfc2364Mode=1 Rfc2364Vci=35 Rfc2364Vpi=8) copied and pasted it after getting root permission.

hope that helps.
 
Old 03-31-2005, 04:55 PM   #3
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Nice comprehensive step by step answer Lakota :-)
 
Old 04-01-2005, 05:41 AM   #4
mindatwork
Member
 
Registered: Nov 2003
Location: Seville (Spain)
Distribution: Mandrake 10.1 / w2k-xp (evil empire)
Posts: 32

Original Poster
Rep: Reputation: 15
Hi again friends. i,m going ahead with the installation after some headcrashes against the wall. everything seems to go well but now i'm stopped at the point where the installation process ask me my VPI asigned by my provider. can anyone tell me what is this exactly? I just dont know what is VPI.
Thanks
 
Old 04-01-2005, 06:19 AM   #5
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
http://www.linux-usb.org/SpeedTouch/faq/
 
Old 04-01-2005, 02:22 PM   #6
mindatwork
Member
 
Registered: Nov 2003
Location: Seville (Spain)
Distribution: Mandrake 10.1 / w2k-xp (evil empire)
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks for the link. the driver seems to be installed. Now when i try to connect i get this message:

... [EciAdsl 3/5] Synchronization...
Error eciadsl-synch SYNCHING: failed
Error eciadsl-synch: failed

i don't know how to continue, maybe i must to configure something more... but install the driver is a little success
 
Old 04-01-2005, 06:14 PM   #7
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
As I said earlier I have not played with dsl for over 2.5 years. At that time I could not manage to get a usb connected dsl modem to work, only ethernet, although I now read it is done. I was just trying to help you along with the easy stuff, so you can figure this out for yourself. Try this link, if you don't manage to get this thing working after trying this, post back, and there are many people here that actually will know how to help you with this, my experience is quite limited. Anyway, try this, it is Mandrake 10.1 specific.

http://www.linux-usb.org/SpeedTouch/mandrake/index.html
 
Old 04-02-2005, 04:25 AM   #8
mindatwork
Member
 
Registered: Nov 2003
Location: Seville (Spain)
Distribution: Mandrake 10.1 / w2k-xp (evil empire)
Posts: 32

Original Poster
Rep: Reputation: 15
I think that at this point that the driver is sucessfully instaled, i got just a problem of configuration. i will take a look to your link and the driver readme files also.
Thank you so very much for your help. I appreciated it
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I found Modem Driver? adil_haroon Linux - Hardware 1 05-08-2004 12:24 PM
Where can I found my VGA Driver. mir_sheely Linux - Hardware 1 04-05-2004 05:48 AM
Winmodem driver found but.... jcap Linux - Newbie 13 03-14-2004 06:21 PM
No Screen Found on ATI driver install in SUSE scriptures4life Linux - Hardware 2 07-20-2003 09:37 AM
cd driver not found - debian Smerk Linux - General 10 03-25-2003 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration