-
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

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1625.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed
$49.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$488.00

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99