Re: A newbie question about networks.

From: Enkidu (enkidu.com_at_com.cliffp.com)
Date: 05/04/05


Date: Wed, 04 May 2005 21:48:09 +1200

Tom Wiley wrote:
> I picked up a copy of Knoppix 3.4 (being given out as a Windows rescue
> disk) at an AntiSpam siminar a couple of months ago, without really
> knowing what it was and loaded it onto an old machine. After playing with
> it for something to do during lunches, I really began to get into it.
>
> To make the story short, I really like it. After downloading version 3.8
> I have installed it as a dual boot on my home machine and it is a blast.
> From lots of surfing, I know that Knoppix is a distribution of Debian so I
> gathered all the Debian books and tutorials that I could find. Here is a
> question that I can't get resolved yet because for some reason this
> version doesn't match any book or article.
>
> When I boot Knoppix, it sets up my ethernet card via DHCP and I can surf
> without a problem. But as a member of the support staff, I need to use a
> static IP so as to bypass the surf control censor. So I go to
> /etc/network/ to get the interfaces file to add a static member and --oops
> - there is nothing in the interfaces file but an auto lo statement.
> Nothing about a ethernet card or DHCP or whatever. And if I do an "ifdown
> eth0" it tells me that there is no eth0 to down.
>
> When I build a proper interfaces file with a static ip for the eth0 in
> /etc/network, then ifup and ifdown work and surf's up. It works fine, I
> am just trying to get the answer for my own learning.
>
> So, I think my question is, what is taking the place of the interfaces
> file in the default installation and where is it?
>
Well, I don't know how Knoppix does it, but you can set up
the ethernet interface from the command line using
"ifconfig". Typing "ifconfig" by itself will show you your
current set up.

Presumably there's some script somewhere that ifconfig's
your ethernet card.

BTW ifup and ifdown use ifconfig I think.

Cheers,

Cliff

-- 
Barzoomian the Martian - http://barzoomian.blogspot.com


Relevant Pages

  • A newbie question about networks.
    ... I know that Knoppix is a distribution of Debian so I ... there is nothing in the interfaces file but an auto lo statement. ... eth0" it tells me that there is no eth0 to down. ... then ifup and ifdown work and surf's up. ...
    (alt.os.linux)
  • Re: A newbie question about networks.
    ... > static IP so as to bypass the surf control censor. ... > Nothing about a ethernet card or DHCP or whatever. ... I don't know much about Knoppix nor Debian but, ...
    (alt.os.linux)
  • Re: problem with network configurations
    ... >> ifconfig and route, but they dont return any values at all. ... the interfaces file and now it seems to work well enough. ...
    (Debian-User)
  • Re: via-rhine.o
    ... On Saturday 11 October 2003 20:16, Nicolas Godzik wrote: ... > I have the DFE-530 TX ethernet card ... What kernel version is your copy of Knoppix using? ...
    (Debian-User)
  • Re: [Problem]: accessing Marvell LAN card (sk98lin.ko)
    ... Gaurav Dhiman wrote: ... > Ethernet card. ... When I do ifconfig, it only shows ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)