-
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

10 Pounds Vintage Ceramic CPU Processor/ic chips Gold Recovery Computers Scrap
$1999.99

Vintage HP 21MX 1000 M-Series Minicomputer Chassis Backplane Parts AS-IS
$228.19

Corel Draw 3 Vintage Big Box Version Brand New Sealed CD-ROM Vintage Software
$49.00

Lot of 2 Vintage Plextor PX-43CS SCSI CD-ROM Caddy Drives + 4 Caddies Used
$55.99

Vintage 1984 Apple Macintosh MacWrite & MacPaint Boxed Set - Near Complete
$125.00

Compaq 242506-001 Netelligent 100 FDDI DAS Fiber SC PCI Network Adapter Vintage
$249.00

Abacus Software Vintage Commodore 64 Book Lot 3: Printer, Sci & Eng, ML
$100.00

Vintage Retro Gaming | EU Plug W/US Adapter | Commodore 1084 CRT Color Monitor
$249.99

Vintage Apple iMac G4 15" Lamp 700MHz 512MB Mac OS X 10.4.6 W/ Pro Speakers
$300.00

Vintage Teac FD-505 5.25" 3.5" Combo Drive 19307571-00
$199.99