-
You may be right, after editing the knoppix-autoconfig to read:
HN="Knoppix-$(ifconfig eth0 | grep HWaddr | awk '{print $5}' | sed s/://g)"
echo $HN > /etc/hostname
sed -i s/^127\.0\.0\.1.*/127\.0\.0\.1\t$HN\ localhost/ /etc/hosts
hostname $HN
I now get eth hostname "knoppix-"
So apparently it's reading the file, but not pulling hte MAC address. Either knoppix doesn't know the MAC address at the time when the knoppix-autoconfig script runs, or you're connrect and the script isn't running properly due to the path. What is the proper path to AWK? /usr/lib/awk? Is that what I need in that script to get it to work?
Thanks for your reply. I need all the help I can get...
Similar Threads
-
By bvsantos in forum Customising & Remastering
Replies: 1
Last Post: 10-22-2007, 05:18 PM
-
Replies: 0
Last Post: 06-01-2006, 08:12 PM
-
By Terry Kemmerer in forum Networking
Replies: 6
Last Post: 02-21-2006, 07:19 AM
-
By kclawson in forum General Support
Replies: 1
Last Post: 12-03-2003, 02:18 AM
-
By StuartP in forum Networking
Replies: 4
Last Post: 06-03-2003, 11:58 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

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00

(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT)
$700.00

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

Intel Core i7-3770K 3.5 GHz Processor
$39.00

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$67.99

Intel Core i7-10700 8-Core 16-Thread 2.9GHz Desktop CPU LGA1200 SRH6Y Z490 Z590
$129.00

AMD Ryzen 7 5800X Desktop Processor (4.7GHz, 8 Cores, Socket AM4)
$150.00