LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 02-15-2005, 06:40 PM   #1
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Rep: Reputation: 30
dhcp + pppoe + kppp + security = confused


Hello Linux land!!!

After reading my ass off about security, and networking, I wanted to be rid of the kppp dialer for security reasons. It seems that the dependencies for kppp include kde and kdenetwork. Thus I can not uninstall kppp. Could somebody advise me of the best setup for networking for my system (ie: software to install etc), which is secure, and what are the best packages to use.


I have an adsl connection that goes into a d-link modem and then into a pci ethernet card. I use Debian Sarge with kernel 2.6, and I use KDE desktop. lso I use Guarddog for a firewall

I can post my ifconfig, but with all my playing around it doesnt display my eth0 card anymore. I am sure that the system uses this to connect............. I know............silly Noob.............Please help!!
 
Old 02-15-2005, 07:04 PM   #2
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 31
What's the problem with kppp? If your isp requires pppoe or pppoa then you can't just switch to dhcp... kppp is just a front end anyway, it doesnt really do anything but edit config files for you.

Really I don't think theres any security problems with ppp.. correct me if I'm wrong.
 
Old 02-15-2005, 07:14 PM   #3
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Original Poster
Rep: Reputation: 30
Hi sh1ft,

I think you are right, I remembered it was telnet that I had to uninstall. If I use adsl, why do I need dialup services active on my box? I tried

dpkg_reconfigure pppoe-config

and after a few screens was told another proccess was using the cards so nothing could be done. So if pppoe is the program to use, how do I turn off this other service that is using the network? what is the difference between pppoe and dhcp? I was lead to believe dhcp was for automatic ip address from provider, where as pppoe was for static ip. I need dhcp!

Sorry if this is confusing, but I have info overload at the mome, and need a simple safe solution.

Cheers
 
Old 02-15-2005, 09:25 PM   #4
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 31
ppp otherwise known as point to point protocol, is used by some adsl providers. It makes a connection between you and your modem and assigns an ip, then the modem connects to the isp with another ip. It's not for static ips, but for dynamic ones. Its used by both adsl and dial-up isps, dhcp is usually used more for cable internet irrc.

I'm trying to understand the problem here... are you not connected to the internet? How did you set up the network, i'm not too familiar with Debian. Are you already using dhcp or are you not sure which ..?
 
Old 02-15-2005, 10:31 PM   #5
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Original Poster
Rep: Reputation: 30
I am not being too clear. Ok, yes I am connected to the internet. The debian install found and installed everything nicely! pppoe gave me the option to use dhcp and all was calm. I am getting a wireless network connection as a thankyou present in a few weeks time so I decided to prepare my system by changing from my on-board network connetion to the pci
network card.

I was using eth1 (on-board Real Tek) connected to d-link modem. eth0 was the Compaq PCI network Card (intel chip). I had a load of problems getting debian to recognise that the line from the d-link modem to the network card had moved.

I noticed that when I tried pppoe-config, to reconfigure the settings it kept saying another process was using the cards. I installed etherconf to try change the setup, and could add all my info in, but nothing changed.

Whilst reasearching networking and security, I managed to somehow get the network up.......but the entries for the cards have changed. eth1 is now the Compaq PCI Card and eth2 is the onboard Real Tek. When I reboot, DHCPDiscover gets stuck on trying to configure eth2.

I am confused at what process is taking control of the cards. if pppoe is supposed to the program to use, why can i not reconfigure the cards with it. That is why I thought the dial up component was toying with the settings somehow.

ifconfig

eth1 Link encap:Ethernet HWaddr 00:50:8B:6A:42:3F
inet addr:220.236.194.180 Bcast:220.236.194.180 Mask:255.255.255.255
inet6 addr: fe80::250:8bff:fe6a:423f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9026 errors:0 dropped:0 overruns:0 frame:0
TX packets:9312 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11852679 (11.3 MiB) TX bytes:625926 (611.2 KiB)

eth2 Link encap:UNSPEC HWaddr 00-02-3C-00-30-04-E8-83-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:11 dropped:11 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2880 (2.8 KiB) TX bytes:2880 (2.8 KiB)

In my log files I now have all these entries of eth1 being dropped. Something is wrong. What do I need to investigate in order to fix this?
 
Old 02-16-2005, 03:58 PM   #6
member57
Member
 
Registered: Jul 2003
Location: Texas
Distribution: Mandrake
Posts: 65

Rep: Reputation: 15
PPPoe is a protocol, not a program. The difference between DHCP and PPPOE is PPPOE allows for a secure connection with username, password, or MAC address restrictions. I would go into your BIOS settings and deactivate your on board NIC. If you are getting wireless connection, why are you changing the cards now? Why not wait until you get the wireless stuff?
 
Old 02-16-2005, 04:45 PM   #7
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Original Poster
Rep: Reputation: 30
Hi Member57, thanks for your response.

If pppoe is a protocol, then do I need the file dhcp-client installed? I found out that I must have configured my interface using dhcp.

/etc/networking/interfaces

auto lo eth1 eth2

iface lo inet loopback

iface eth1 inet dhcp
hostname adobeville

The debian reference manual states that if I was using pppoe then it should be

iface eth1 inet ppp
provider (my isp)

It appears that Debian has provided some advanced tools for networking using dhcp. ifup, ifdown, ifupdown to configure networking on a much higher level. As a noobie, I am wondering if these tools are needed for a small network as mine?

As to why I am doing this early...............all I can say is why climb a mountain? This is my first fiddle with networking in linux, and I would like to learn the basics before I get inundated with switches and wireless stuff! Also, I would like to learn networking so I can whip my sons butt in a few linux games.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PPPoE or PPPoA for better security ? spinner_0 Linux - Security 3 11-30-2005 12:20 PM
Security.....I'm confused? Quivver Linux - Software 6 02-17-2004 06:23 PM
final(I hope) Qs for pppoe vs. dhcp & dsl on rh9 krome Linux - Hardware 1 10-24-2003 01:26 AM
Firewall/Router/pppoe/dhcp Beetle B. Linux - Networking 3 09-15-2003 02:07 PM
rp-pppoe DHCP setup for USB ADSL modem Teecom Slackware 2 06-20-2003 11:09 AM


All times are GMT -5. The time now is 05:18 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration