-
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

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

24x Micron MT40A512M16LY-062E IT:E 8Gb DDR4-3200 96-FBGA Memory IC
$349.99

SK hynix 16GB (2x8GB) DDR4 SDRAM PC4-2133P 288-Pin DIMM HMA41GU7AFR8N-TF
$65.00

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)
$89.99

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

1x64GB Hynix HMAA8GL7MMR4N DDR4 PC4 2133P-LE0-11 4Rx4 ECC LRDIMM Server RAM
$320.00

Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB
$124.95

HMAA8GR7AJR4N-WM Hynix 64GB PC4-23400 DDR4-2933MHz ECC 2Rx4 RDIMM 1.2V Memory
$514.99

Lot 2x 8GB (16GB) Micron MTA18ASF1G72PZ-2G1A2IK 2133MHz DDR4 RDIMM Server Memory
$69.99

Samsung 32GB Total. 1Rx8 PC5-4800B DDR5 4800MHz SODIMM Laptop Memory 2x16gb
$369.00