LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-06-2004, 12:12 PM   #1
kule
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 87

Rep: Reputation: 16
PPPoE with Wireless card


I have a D-Link DWL 520+ wireless card and I'm using acx100 driver on Slack 10, custom kernel 2.6.7. Everything was working great untill my ISP change the way to activate my wireless connection and now I have to make a PPPoE connection, but I don't know how. I tried the Roaring Penguin, but when I tried to connect it returned: "TIMED OUT".

Does anybody know how to setup this connection.
 
Old 10-06-2004, 12:14 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
I don't know the way you did it, but this steps always worked for me (not a wireless card but it should be the same).
netconfig
adsl-setup
adsl-start
adsl-stop

Just be sure you point the correct card name.

Last edited by gbonvehi; 10-06-2004 at 12:15 PM.
 
Old 10-06-2004, 04:25 PM   #3
kule
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 87

Original Poster
Rep: Reputation: 16
Well my wireless card is wlan0, and I think netconfig only configures eth0.

To be more precise I didn't get an IP adress, so I think in netconfig I have to select DHCP; I didn't get any DNS servers so do I have to delete resolve.conf, I don't undertand these things; and do I have to load any kernel modules for PPPoE?
 
Old 10-06-2004, 09:05 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
If you have to use pppoe, then you have to run adsl-setup there you can choose which card you want to use for it, in your case wlan0. There no extra module needed to be loaded, if all goes right then typing adsl-start should connect to the isp and get the needed ip.
 
Old 10-07-2004, 04:03 AM   #5
kule
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 87

Original Poster
Rep: Reputation: 16
Here is how I configured it:
Code:
root@kustudic:~# adsl-setup
Welcome to the Roaring Penguin ADSL client setup.  First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...

Looks good!  Now, please enter some information:

USER NAME

>>> Enter your PPPoE user name (default kustudic): kustudic

INTERFACE

>>> Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where 'n' is a number.
(default wlan0): wlan0

Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped.  If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses.  You may have some problems with demand-activated links.
>>> Enter the demand value (default no):

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here: server

PASSWORD

>>> Please enter your PPPoE password:
>>> Please re-enter your PPPoE password:

FIREWALLING

Please choose the firewall rules to use.  Note that these rules are
very basic.  You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security.  If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself.  Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc.  If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules.  You are responsible
          for ensuring the security of your machine.  You are STRONGLY
          recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
                for a LAN
>>> Choose a type of firewall (0-2): 0

** Summary of what you entered **

Ethernet Interface: wlan0
User name:          kustudic
Activate-on-demand: No
DNS addresses:      Supplied by ISP's server
Firewalling:        NONE

>>> Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/ppp/pppoe.conf
Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
  (But first backing it up to /etc/ppp/pap-secrets-bak)
  (But first backing it up to /etc/ppp/chap-secrets-bak)



Congratulations, it should be all set up!

Type 'adsl-start' to bring up your ADSL link and 'adsl-stop' to bring
it down.  Type 'adsl-status' to see the link status.
root@kustudic:~# adsl-start
................TIMED OUT
And this is what my ifconfig displays:

Code:
root@kustudic:~# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:0D:88:82:E8:D8
          inet addr:62.108.112.88  Bcast:62.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
          RX packets:11320 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2084 errors:273 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1902182 (1.8 Mb)  TX bytes:267778 (261.5 Kb)
          Interrupt:17 Base address:0xd800
What am I doing wrong??
 
Old 10-08-2004, 11:45 AM   #6
kule
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 87

Original Poster
Rep: Reputation: 16
Everithing is working great now, thx for the help guys.
 
Old 10-08-2004, 11:59 AM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Glad to hear that kule, btw, how did you fix it? (maybe other wireless users can learn from this)
 
Old 10-09-2004, 05:40 PM   #8
kule
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 87

Original Poster
Rep: Reputation: 16
So this is how I did it.

You don't have to do anything with netconfig.

I insert acx_pci module:
Code:
modprobe acx_pci firmaware_dir=/path/toyour/firmware
then:
Code:
ifconfig wlan0 up
and then with iwconfig you setup your AP, Chanell and the rest.

Start
Code:
adsl-setup
answer simple questions and after that
Code:
adsl-start
to connect.

To disconnect use adsl-stop.

That's that. The most important thing is not to do anything with ifconfig except
Code:
ifconfig wlan0 up
 
  


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
PPPoE over wireless connection - Mandriva 2005 Slider21 Linux - Wireless Networking 0 09-29-2005 10:26 AM
PPPoE via Wireless cccp Linux - Wireless Networking 1 09-01-2005 11:16 AM
pppoe over wireless a blind kid Linux - Wireless Networking 1 12-22-2004 09:54 PM
A probleam about wireless ethernet card used PPPOE protocol dial-up connected interne yjftwo Linux - Wireless Networking 5 11-25-2004 05:02 AM
pcmcia card and pppoe cpt.anarchy Linux - Newbie 1 10-28-2003 11:56 PM

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

All times are GMT -5. The time now is 02:37 AM.

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