LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 05-28-2004, 12:09 PM   #1
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
Connecting by Conexant USB Adsl (pppoa) using Mandrake 10 official


I made this HowTo to help others like me to connect with ease
Note : i am still a newbie and this is my first howto so bear with me

Connecting by Conexant USB Adsl (pppoa) using Mandrake 10 official :

1) Go to http://www.zullinux.it/linux/accessrunner.html ,
download cxacru-2003-10-05-src.tgz and patch-upto_2.6.5_20040517_accessrunner.gz

2) Install the kernel source from rpmdrake

3) Patch the kernel
# cd /usr/src/linux
# gunzip -c patch-2.6.x_YYYYMMDD_accessrunner.gz | patch -p1

4) Recompile the kernel
# cd /usr/src/linux

backup the .config by copying to any other location

# make mrproper

restore the .config

# make menuconfig

Go to section

Device Driver -> Networking Support -> Networking Options -> ....

<M> Asynchronous Transfer Mode (ATM) (EXPERIMENTAL)
<M> Classical IP over ATM (EXPERIMENTAL)[*] Do NOT send ICMP if no neighbour (EXPERIMENTAL)
<M> LAN Emulation (LANE) support (EXPERIMENTAL)
<M> Multi-Protocol Over ATM (MPOA) support (EXPERIMENTAL)
<M> RFC1483/2684 Bridged protocols[*] Per-VC IP filter kludge




Then Go to section

Device Driver -> USB Support ->
<M> Support for USB
.... (go near the end of the page)
<M>Alcatel Speedtouch USB support (NEW)

then save

# make

# make bzImage

# make modules

# make modules_install

# make install

5) Restart

6) Go to rpmdrake and search for atm these packages will be the result
liblinux-atm1 , liblinux-atm1-devel , linux-atm , ppp-pppoatm
install them

7) Untar cxacru package to any folder and type
# make new

8) Substitute cxload.sh and cxunload.sh in "/usr/sbin" with the modified ones that you have downloaded from the site

9) Edit file /etc/cxacru to your needs
here is mine :

#
# Config file for Conexant AccessRunner
#

# Driver mode
DRIVER_MODE=1 # 1 = normal, 2 = debug, 3 = normal+max speed (without ask adsl status), 4 = debug+max speed (without ask adsl status)

# Protocol
PROTOCOL_MODE=2 # 1 = RFC1483/2684 routed, 2 = PPP over ATM (pppoa), 3 = RFC1483/2684 bridged, 4 = PPP over Ethernet (pppoe)

# Paths
BINARY_PATH="/usr/sbin"
ATM_PATH=""

# ADSL
# if OPEN_MODE is blank then cxload uses default mode acoording VID & PID
# Values for OPEN_MODE are:
# 0 = auto selection, G.Handshake
# 1 = auto selection, T1.413
# 2 = G.Handshake
# 3 = ANSI T1.413
# 4 = ITU-T G.992.1 (G.DMT)
# 5 = ITU-T G.992.2 (G.LITE)
OPEN_MODE=

# ATM
VPI=8
VCI=35

# Specific for RFC1483/2684 routed/bridged
# if IP_ADDRESS is blank in bridged mode then it uses DHCP to get IP
IP_ADDRESS=
NETMASK=
GATEWAY=

10) Edit your options file in /etc/ppp
#lock
#noauth
#noipdefault
#usepeerdns

noipdefault
noauth
persist
lcp-max-configure 50
-pap
usepeerdns
name any
user "insert your username here"
defaultroute
plugin /usr/lib/pppd/2.4.1/pppoatm.so 8.35

11) Edit the pap-secrets file
# Secrets for authentication using PAP
# client server secret IP addresses
'username' * 'password'

12) Edit the chap-secrets file
# Secrets for authentication using PAP
# client server secret IP addresses
'username' * 'password' *

13) Edit the resolv.conf in /etc and insert in it your DNS
if you dont know it you could get it from windows by typing ipconfig /all

14) Go to /usr/sbin
# su

# ./cxstart.sh


And wish that it will connect the first time
 
Old 11-01-2004, 02:05 PM   #2
shs
LQ Newbie
 
Registered: Nov 2004
Location: Andorra, Europe
Distribution: Mandrake
Posts: 3

Rep: Reputation: 0
Thumbs up Thanks!

Thanks for this info Heema, it's been essential in getting my Mandrake box connected to the internet here in Andorra, using a Conextant USB modem.

 
Old 11-02-2004, 05:25 AM   #3
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Original Poster
Rep: Reputation: 47
No problem , i am glad that it helped u
 
Old 11-02-2004, 08:00 AM   #4
itRommel
LQ Newbie
 
Registered: Nov 2004
Location: Italy
Posts: 3

Rep: Reputation: 0
i read a lot of howto about conexant driver and linux, and this evening i'll try this one.

my problem is that after i write #cxstart , i open konqueror or mozilla and i don't see anything.

a lot of people said me it's a problem with dns... but in /etc/resolv.conf
i write:
nameserver 193.70.192.25
nameserver 193.70.152.25
and it don't work...

why?

p.s. sorry for my bad english
 
Old 11-03-2004, 01:24 AM   #5
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Original Poster
Rep: Reputation: 47
it could also be that u didnt set ur VPI / VCI right
 
Old 11-29-2004, 01:16 PM   #6
arnig02
LQ Newbie
 
Registered: Aug 2003
Location: Iceland
Distribution: Mandrake 10.0
Posts: 4

Rep: Reputation: 0
This worked perfectly on my old desktop computer, but when I tried it on my laptop it seemed to install just fine, but when I did "./cxstart.sh", it seemed to connect at first (the light on the modem indicated that), but right in the end it says...

FATAL Error inserting speedtch (/lib/modules/2.6.4/kernel/drivers/usb/misc/speedtch.ko): unknown symbol in module, or unknown parameter

I did a dmesg, and one line there says there was a problem (some -17 problem specifically) with xdslusb.c.

Do you have any idea what this could be ?

Computer: Dell Inspiron 5150
Distro: Mandrake 10.0
 
Old 11-30-2004, 01:33 AM   #7
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Original Poster
Rep: Reputation: 47
yeah i had this problem before sorry i cant remember exactly what i did but this site helped me solve it ,

http://pboufree.free.fr/articles.php...es/install.inc

its in frensh so i translated here for u using babel fish so it wont be in perfect english

The necessary packages are provided in the heading download of this site or are presents on your Cd of distribution.

The installation must be effectuee under the account root.
the users desirant to use the package sources will follow the directives since the 1, the others will debuteront with the 6bis.

1 - To install the sources of your core.

2 - Verify the bonds symbolic systems on the sources of the core.

Bonds "linux" in:
/usr/src/ on the kernel in progress.
/usr/include/ on /usr/src/linux/include/linux


3 - To install the necessary packages (Order: rpm - U rpmFILE).
atm, libatm, libusb, PPP modify for atm

4 - To install libglade and libxml and poured them src presents on your Cd Mandrake.

5 - To install the sources "cxacru-xxxx-xx-xx-src.tar.gz" in the repertoire /usr/local/src.

6 - In this repertoire to launch "make new"

7 - To modify the file /etc/ppp/options
noipdefault
noauth
persist
lcp-max-configure 50
refuse-PAP
usepeerdns
name any
to use "USER@tiscali.hautdebit"
defaultroute
plugin /usr/lib/pppd/2.4.1/pppoatm.so 8.35
Or TO USE is your account of connection.

8 - To modify the file /etc/ppp/chap-secrecies to add
' USER' * ' PASSWORD' *
Or TO USE is your account of connection and PASSWORD the password.

9 - To modify /etc/resolv.conf to add (address DNS of your FAI)
nameserver X.X.X.X

10 - Verify /etc/cxacru only the protocol_mode=2 has ete valid
#
# Config spins for Conexant AccessRunner
#

# Driver mode
DRIVER_MODE=1 # 1 = normal, 2 = debug

# Protocol
PROTOCOL_MODE=2 # 1 = RFC1483/2684 routed, 2 = PPP over ATM (pppoa)

# Paths
BINARY_PATH="/usr/sbin"
ATM_PATH = ""

# ATM
VPI=8
VCI=35

# Specific for RFC1483/2684 routed
IP_ADDRESS =
NETMASK =
GATEWAY =


11 - To launch "cxstart.sh" the indicators of your modem must flicker and become fixed.

12 - To launch "ifconfig" you must obtain infos on pppx.
ppp0 encap:Protocole Bond Point-?-Point
inet adr:x.x.x.x P-t-P:x.x.x.x Masque:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1460 METRIC:1
X-ray packets:296240 errors:0 dropped:0 overruns:0 frame:0
TX packets:303166 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:3
X-ray bytes:159535984 (152.1 Mb) TX bytes:126668453 (120.8 Mb)


13 - You can surfe on the NET.

14 - To launch "cxstop.sh" has the end of surfing.

15 - You can install this driver in service by a "make add_service"

Last edited by heema; 11-30-2004 at 03:15 AM.
 
Old 12-28-2004, 07:17 AM   #8
chuck54
LQ Newbie
 
Registered: Dec 2002
Posts: 16

Rep: Reputation: 0
I am trying to get this modem working with ubuntu linux. It sounds quite hard.
I am in andorra, with one of their vitelcom branded conexant usb adsl modems.

I am really wandering in the dark at the moment, can anyone point me in the right direction?

http://www.ubuntuforums.org/showthre...ed=1#post39664
 
Old 12-28-2004, 07:25 AM   #9
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Original Poster
Rep: Reputation: 47
yes i installed it in ubuntu and it works gr8

sorry i am at work now but when i return i will post to u a howto for ubuntu
 
Old 12-28-2004, 05:15 PM   #10
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Original Poster
Rep: Reputation: 47
NOTE : This is not a complete howto as i may have forgotten some things


Connecting by Conexant USB Adsl (pppoa) using Ubuntu :

1) Open synaptic and install build-essential

2) Go to http://archive.ubuntu.com/ubuntu/pool/ ,
download these packages :

bin86_0.16.14-1_i386.deb
kernel-package_8.091.0ubuntu4_all.deb
kernel-source-2.6.8
libatm1-dev_2.4.1-15_i386.deb
libncurses5-dev_5.4-4_i386.deb
libusb-dev_1%3a0.1.8-11_i386.deb
linux-patch-debian-2.6.8.1_2.6.8.1-16_all.deb
linux-tree-2.6.8.1_2.6.8.1-16_all.deb

3) Install the packages

4) Go to http://www.zullinux.it/linux/accessrunner.html ,
download cxacru-2003-10-05-src.tgz and patch-upto_2.6.5_20040517_accessrunner.gz

5) Type :
sudo -s
cd /usr/src
tar xvjf kernel-source-2.6*
ln -s kernel-source-2.6.8.1 linux

6) Patch the kernel
# cd /usr/src/linux
# gunzip -c patch-2.6.x_YYYYMMDD_accessrunner.gz | patch -p1

7) Recompile the kernel
cd /usr/src/linux
cp /boot/config-2.6.8.1-3-686 .config
make oldconfig
make menuconfig


Go to section

Device Driver -> Networking Support -> Networking Options -> ....

<M> Asynchronous Transfer Mode (ATM) (EXPERIMENTAL)
<M> Classical IP over ATM (EXPERIMENTAL) [*] Do NOT send ICMP if no neighbour (EXPERIMENTAL)
<M> LAN Emulation (LANE) support (EXPERIMENTAL)
<M> Multi-Protocol Over ATM (MPOA) support (EXPERIMENTAL)
<M> RFC1483/2684 Bridged protocols [*] Per-VC IP filter kludge




Then Go to section

Device Driver -> USB Support ->
<M> Support for USB
.... (go near the end of the page)
<M>Alcatel Speedtouch USB support (NEW)

then save

make-kpkg --revision=1 –append -686 --initrd kernel_image

Wait.

Install the generated kernel-image debs.

8) Restart

9) Untar cxacru package to any folder and type
# make new

10) Substitute cxload.sh and cxunload.sh in "/usr/sbin" with the modified ones that you have downloaded from the site

11) Edit file /etc/cxacru to your needs
here is mine :

#
# Config file for Conexant AccessRunner
#

# Driver mode
DRIVER_MODE=1 # 1 = normal, 2 = debug, 3 = normal+max speed (without ask adsl status), 4 = debug+max speed (without ask adsl status)

# Protocol
PROTOCOL_MODE=2 # 1 = RFC1483/2684 routed, 2 = PPP over ATM (pppoa), 3 = RFC1483/2684 bridged, 4 = PPP over Ethernet (pppoe)

# Paths
BINARY_PATH="/usr/sbin"
ATM_PATH=""

# ADSL
# if OPEN_MODE is blank then cxload uses default mode acoording VID & PID
# Values for OPEN_MODE are:
# 0 = auto selection, G.Handshake
# 1 = auto selection, T1.413
# 2 = G.Handshake
# 3 = ANSI T1.413
# 4 = ITU-T G.992.1 (G.DMT)
# 5 = ITU-T G.992.2 (G.LITE)
OPEN_MODE=

# ATM
VPI=8
VCI=35

# Specific for RFC1483/2684 routed/bridged
# if IP_ADDRESS is blank in bridged mode then it uses DHCP to get IP
IP_ADDRESS=
NETMASK=
GATEWAY=

12) Edit your options file in /etc/ppp
#lock
#noauth
#noipdefault
#usepeerdns

noipdefault
noauth
persist
lcp-max-configure 50
-pap
usepeerdns
name any
user "insert your username here"
defaultroute
plugin /usr/lib/pppd/2.4.1/pppoatm.so 8.35

13) Edit the pap-secrets file
# Secrets for authentication using PAP
# client server secret IP addresses
'username' * 'password'

14) Edit the chap-secrets file
# Secrets for authentication using PAP
# client server secret IP addresses
'username' * 'password' *

15) Edit the resolv.conf in /etc and insert in it your DNS
if you dont know it you could get it from windows by typing ipconfig /all

16) Go to /usr/sbin
# su

# ./cxstart.sh


And wish that it will connect the first time

Last edited by heema; 01-12-2005 at 04:37 AM.
 
Old 12-19-2005, 01:21 PM   #11
sursmokie
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
Thank You!!!!!!!!!!!!
 
Old 12-19-2005, 06:55 PM   #12
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Original Poster
Rep: Reputation: 47
No problem , its gr8 that it worked for you as i spent alot of time trying to make it work
 
Old 12-24-2005, 06:57 AM   #13
sursmokie
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
All the above are for kernels 2.6.1 to 2.6.9, right?

What about kernels supporting the conexant module ( for example 2.6.13 - suse 10)?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adsl usb conexant nukleon *BSD 1 02-10-2006 01:09 PM
Connecting by Conexant USB Adsl (pppoa) using Ubuntu heema LinuxQuestions.org Member Success Stories 0 01-12-2005 04:40 AM
connecting to internet with pppoa adsl abu_abdullaah *BSD 3 07-26-2004 09:28 AM
Mandrake 10 ADSL PPPoA Problems, Actiontec Gateway via eth0. webgovernor Linux - Newbie 1 06-25-2004 09:13 AM
Internet connectivity using USB ADSL Modem with PPPOA jimmax777 Linux - Networking 1 02-25-2004 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 08:02 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