-
Junior Member
registered user
The DNS addresses are correct - that I'm sure of. But the Gateway address, I have been using the 192.168.1.1 address since I've been playing with the LAN. It is the router's/AP IP and was arrived at by trial and error. If it should be some other IP, please let me know!
I will give you new script a try when I have time. Until then, have a good day!
Thanks!
-
Junior Member
registered user
OK shah...I made the changes to the script. I put the 'ifdown/up' commands ahead of the 'network start' command but I got an 'ifdown eth2 - device not configured' error message on the subsequent reboot . And on login eth2 was using DHCP! However...
If all of this so far hasn't sounded a little crazy, what I'm about to say will - some boot ups eth2 will be using DHCP and other boot ups eth2 will be using a STATIC IP....and I cannot tell when it will be using what. Out of sheer curiousity, I rebooted the system 6 times and half the time DHCP was being used and the other half, of course, a static IP.
I'm having a hellava time trying to rap my brain around this. I think it's time for me to move on to another distro - naw, gotta figure it out, right?
Thanks!
-
Senior Member
registered user
#!/bin/sh
/etc/c/init.d/networking stop
/etc/init.d/networking start
ifconfig eth2 address 192.168.1.210 up
Make sure this script runs after knoppix-autoconfig....check on the /etc/rc5.d/Sxknoppix-autoconfig.
x = value for our script must be higher than knoppix-autoconfig.
-
Junior Member
registered user
Thanks again shah...I will try it over the next few days before rendering a opinion as I will be a little busy
FYI - I set the numerical value of /etc/init.d/mynet.sh to '21' - it was originally set to '20'...
-
Junior Member
registered user
OK - it's Friday morning and I have rebooted the system at least 10 times since our last posts and this is what I have settled on for my /etc/init.d/mynet.sh:
<begin code>
#!/bin/sh
ifconfig eth0 down
ifconfig eth1 down
ifconfig eth2 down
/etc/init.d/networking stop
/etc/init.d/networking start
ifconfig eth2 up
<end code>
Shah, with the above script syntax Knoppix v-3.6 will (so far anyway) set my wireless to use a STATIC IP address. Ten reboots, ten with eth2 set to use a STATIC IP. Your last scrip syntax didn't set eth2 to STATIC IP all of the time, even tho' I set the numerical value of the script to '22'. The above syntax DOES seem to work but I will always check the IP upon logon. Thanks for your input.
FYI - after talking things over with a friiend, there possibly very relevant info I failed to convey - I have updated the system to a Debian Unstable (Sid) configuration. Also, I did a Debian HDD install.
Now for an off topic comment - I d/l'd Kanotix BH4 and as a live install it too has a problem with my Lucent wireless - a topic for a different time and place. But it does look interesting... 
Ciao...
Similar Threads
-
By cosmosgr in forum Networking
Replies: 3
Last Post: 06-19-2006, 07:29 AM
-
By crw128 in forum Networking
Replies: 0
Last Post: 06-29-2005, 10:39 AM
-
By revolver in forum Hardware & Booting
Replies: 1
Last Post: 12-18-2004, 05:43 PM
-
By bgood98 in forum Networking
Replies: 0
Last Post: 12-07-2003, 05:30 PM
-
By lello107 in forum Hardware & Booting
Replies: 2
Last Post: 11-07-2003, 12:55 PM
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

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC
$250.00

Supermicro 505-2 Server
$280.00

Supermicro E200-8D Barebones Server Chassis Xeon D-1528 X10SDV-6C-TLN4F 2x10GbE
$445.00

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*
$369.99

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99

SuperMicro 4U CSE 847 36 Bay LFF Barebone 2x 1280W w/ 2x Bays 2.5 Rear w/Trays
$499.99

1U Edge Firewall Server X11SCW-F Xeon E-2174G 0 RAM M.2 NVME 3x PCI-e 2x PSU X
$175.00

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On
$450.00

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99