-
Which file to edit for configuring LAN
Hi,
I have installed Knoppix to my Hard Drive. Since knoppix is based on Debian I followed the methods used to configure a LAN on Debian described on this O' Reilly web-page http://www.oreilly.com/catalog/debia...k/ch10_02.html.
It works perfectly when I use the "ifconfig" and the "route" commands. However I'd like to know which configuration file to add these commands to so that my LAN connection is configured at start-up. The file /etc/init.d/network is missing on Knoppix and has the file /etc/init.d/networking in its place. However adding the "ifconfig" and the "route" commands with the requisite arguments at the end of that file didn't help.
Thanks.
-
/etc/network/interfaces
man interfaces
An example with eth0 brought up automatically at boot,
using dhcp
-------------------------------------------------------------
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
------------------------------------------------------------
wireless-no auto for either wlan0 or eth0
use ifup and ifdown
------------------------------------------------------------
auto lo
iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet dhcp
wireless_mode managed
wireless_essid youressid
wireless_channel 6
wireless_enc on
wireless_key XX:XX:XX:XX:XX
------------------------------------------------------------
-
Thanks a lot
. It worked perfectly and I learned something new.
-
Hey ghaze !
What if I want af fixed IP-address ?
I am getting tired of haveing til reconfigure my NIC every time I boot 
/KillerClown
-
What if I want a fixed IP-address ?
It's in the manual page
man interfaces
-
Remastering CD
I'm remastering a CD and it doesn't seem to ever run the /etc/network/interfaces file (my hard drive installation works perfectly) when I boot the cd. How do I get the CD to actually bring up the network properly (I'm actually trying to bring up a wireless interface)? I even tried to put a link to /etc/init.d/networking in the rc*.d directories but that doesn't work at all. Does KNOPPIX (when booted from the CD) even run through the rc* directories?
Similar Threads
-
By aidata in forum General Support
Replies: 2
Last Post: 08-27-2005, 06:53 PM
-
By bigal2000 in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 07-07-2004, 04:53 PM
-
By CyberInzane in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 02-23-2004, 09:33 PM
-
By pat reen in forum General Support
Replies: 3
Last Post: 07-02-2003, 02:13 AM
-
By probono in forum General Support
Replies: 6
Last Post: 03-19-2003, 08:48 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

M.2 SATA SSD 2280 128GB 256GB 512GB major brands | Very Good health
$35.99

SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE
$214.99

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive
$39.99

M2 2280 PCIe 4.0 solid-state drive high-speed storage device 1080P RO 2TB NGFF
$99.00

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.80

Crucial MX500 500GB 2.5" SATA III Internal SSD CT500MX500SSD1
$63.99

Samsung 850 EVO 1TB SATA III Internal, 2.5 inch Solid State Non Tested 1TB
$75.00

128GB SSD M.2 PCIE NVME Solid State Drive Mix Brand Samsung, WD, SK Hynix Kioxia
$16.59

SanDisk Ultra II 480GB 2.5in SATA III Internal SSD SDSSDHII-480G
$45.50

LOT OF 2 HGST SSD800MM for HP 200GB 2.5" SAS SSD - 10.0 DWPD 100%
$60.00