LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-14-2004, 04:08 PM   #1
Blaumieser
Member
 
Registered: Sep 2003
Distribution: aptosid
Posts: 40
Blog Entries: 4

Rep: Reputation: 15
LAN & DSL simultaneously?


Hi all,

I want to use ADSL and LAN with Knoppix and Mandrake 10. I use Knoppix as my test environment so that I don't shred the Mandrake install.



Hardware:

- PC with ethernet card connected via wire to siemens gigaset wlan router / dsl modem. this one is the one with the problem described.

- some other PC connected via wlan and a laptop connected via wlan as well.



what i've done so far:

- set up dsl (pppoe) with mandrake 10. works

- didn't try to set up lan with mandrake 10 because of the problems with knoppix, see below

- set up dsl with knoppix using the config tool (adsl/pppoe). works

- set up lan with knoppix using the netcardconfig. works

- set up dsl and lan. doesn't work. the config tool for dsl seems to override settings from the config tool for lan and vice versa.



So I think I have to set up the stuff manually. Is defining a second interface for the ethernet card, or something like eth0:0 and eth0:1 doing the trick? Then one could use eth0:0 for dsl and eth0:1 for lan.



Could anyone tell me how this works or point me to some text? I hope there is a procedure which works on both linuces but mandrake is more important for me.



Thanks in advance!

BM
 
Old 09-14-2004, 05:00 PM   #2
TheIrish
Member
 
Registered: Oct 2003
Location: ITALY
Distribution: Debian, Ubuntu, Fedora
Posts: 137

Rep: Reputation: 15
Pardon me, so you're saying that wlan thing and the dsl thing are integrated, but you need to run pppoe on the computer for making the connection?
 
Old 09-14-2004, 07:14 PM   #3
scorpi007
LQ Newbie
 
Registered: Aug 2004
Location: Forest City, NC
Distribution: Fedora Core 1+2+3; Mandrake 10; Libranet 2.8.1
Posts: 10

Rep: Reputation: 0
Question

Just wanting to make things more clear from your question, are you trying to make your linux computer an internet connection sharing box router???

Sounds like it to me, but i just want to make it clear...
 
Old 09-15-2004, 07:47 AM   #4
Blaumieser
Member
 
Registered: Sep 2003
Distribution: aptosid
Posts: 40

Original Poster
Blog Entries: 4

Rep: Reputation: 15
Hi again!
Thanks for answering so quickly.

To TheIrish:
Yes, it's a combo-device. I think there is a wlan access point and a ethernet swith (hub?!) and a dsl-modem integrated. The PC, however, is connected with a twisted pair ethernet cable to this combo-device. So I think the PC "doesn't know" that there is wlan involved and it only sees a switch.
I used pppoe to make an internet connection to the ISP which works fine with Knoppix and Mandrake. Knoppix asks during the configuration which ethernet device i want to use: until now I choose eth0 because it's the only one.

To scorpi007:
No, the linux box is not intended to be used as internet access for the others. It's a "client" as the others are. I believe that the wlan-combo does this job already.


BM
 
Old 09-15-2004, 08:20 AM   #5
TheIrish
Member
 
Registered: Oct 2003
Location: ITALY
Distribution: Debian, Ubuntu, Fedora
Posts: 137

Rep: Reputation: 15
Ok, now we see the problem, at least i think so.
When you connect a computer to a modem (no matter what's the media) and you run pppoe in the computer to establish a connection, a special conceptual techonolgy is used and it is named numberless connection.
When the two peers (computer and modem) are connected for this target, that cable cannot be used for transfering other data except the one coming from the internet that's the problem.
all computers connected with the wlan should be able to talk to each other, while the computer actually involved in the establishmet of the connection is cut out.
This combo device is somehow unsual since most are dsl router and can establish the connection by themselves, without any help from a computer.
Solutions:
a) buy a combo dsl-router/wlan-access-point (i suggest linksys for quality/price)
b) use the computer that establishes the connection as an access point for the others (and this means some sostatial modifications in the logical topology you're using now)

Unluckly, I suggest solution A if you really need to use the wlan thing and this means spending some money...
Thinking carefully, this device seems to be too strange: try to see if it can be configurated to act as the pppoe origin or it is only a passive device

Last edited by TheIrish; 09-15-2004 at 08:22 AM.
 
Old 09-15-2004, 09:30 AM   #6
Blaumieser
Member
 
Registered: Sep 2003
Distribution: aptosid
Posts: 40

Original Poster
Blog Entries: 4

Rep: Reputation: 15
Hello once again,

to TheIrish:

2 more things:

First I've looked up some specs of the combo thing. here they are:
- It's a Siemens Gigaset SE515 dsl
- It has got 4 integrated devices:
-- 1. dsl-modem
-- 2. router
-- 3. a 4-port switch
-- 4. wlan access point
Isn't that your solution A?

Second: I hate to say it , but with the OS from the dark side surfing via dsl and ethernetworking at the same time is possible ...

mmmh.

BM
 
Old 09-23-2004, 02:52 AM   #7
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Have you tried configuring the eth0 interface directly
eg
Code:
ifconfig eth0 192.168.0.2
if you use pppoe there will be another (virtual/pseudo) interface called ppp0(IIRC),
 
Old 09-23-2004, 03:36 AM   #8
Blaumieser
Member
 
Registered: Sep 2003
Distribution: aptosid
Posts: 40

Original Poster
Blog Entries: 4

Rep: Reputation: 15
Hi!
Thanks for the hint. I will try this tomorrow when I will be where the box is located and will report

Regards
BM
 
Old 09-25-2004, 02:42 PM   #9
Blaumieser
Member
 
Registered: Sep 2003
Distribution: aptosid
Posts: 40

Original Poster
Blog Entries: 4

Rep: Reputation: 15
... seems to work

Hi again,

thanks for the hint. Now LAN and DSL can be used at the same time in knoppix. I will try to get things running on mandrake now ...

Strangely, there are not so much problems using Knoppix 3.7 with a 2.4 kernel than with a 2.6 kernel. But one problem persists: If I save the configuration of knoppix and then restart it using the saved config, then it seems to have forgotten the ppp0 device. I suppose this can be solved as you stated with "ifconfig ppp0 ..." and some paramters (have to figure them out)

So thanks once again ...

BM
 
  


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
dsl and lan together d1l2w3 Linux - Networking 4 01-22-2005 03:34 AM
lan via dsl d1l2w3 Linux - Laptop and Netbook 1 01-21-2005 10:50 PM
Lan & DSL simultaneously? (once again) Blaumieser Linux - Networking 0 09-23-2004 02:33 AM
reconfigure from DSL to LAN mamascasa Linux - Newbie 1 09-05-2003 05:29 AM
DSL Lan??? oulevon Linux - Networking 3 05-20-2001 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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