I would prefer a cheatcode. By the way, how do you change the hostname? hostname command doesn't seem to be enough as i still can't samba between two Knoppix boxes
It would be very nice and useful, if the hostname of the Knoppix box would be unique. This would allow, that there are several Knoppix hosts running on the same net. Currently, if dynamic dns and DHCP is used, only the first "knoppix" host gets added to the DNS.
One easy way would be, to add the MAC adress of the 1st NIC to hostname (without the : of course). This would make the hostname look something like "knoppix-0008743EFDE2".
I would prefer a cheatcode. By the way, how do you change the hostname? hostname command doesn't seem to be enough as i still can't samba between two Knoppix boxes
Why would you use samba between 2 knoppix boxes? why not ssh or nfs?Originally Posted by amp77
That's not the point at all.Originally Posted by The-Big-E
A possible scenario might be, that there are 2+ knoppix boxes and one or more Windows machines. How do you access one specific Knoppix box using CIFS/SMB from the Windows machine?
I understand, but enable ssh on 1/both/all knoppix boxes, then access them via putty or winscp to the IP. The only time I found the hostname to be really important (at least when using live cd's and interacting with windows boxes) is when using cups.Originally Posted by A.Skwar
What are you trying to do that you would need more then I live cd running at a time anyway?
I agree that accessing by IP address is a work around, although hardly a great one. I can certainly think of lots of reasons to run with more than one Live CD though, in fact any reason to run with one Live CD would be a good reason to run with more than one. And if you want to learn about Linux networking before ditching your Windows network, it an obvious choice. Other reasons: Transfering files without having to deal with Linux to Windows issues, debugging network problems with ethereal, playing multiplayer games like Crack Attack on the 4.0.2 DVD across the local network.Originally Posted by The-Big-E
You're again missing the point. The current state of behaviour can very well be seen as a bug that needs to be fixed. The way it is now, it's *NOT* possible to access one specified box using a name. You have to know the IP.Originally Posted by The-Big-E
That's not easy. And up to know, Knoppix to me always made the impression, that it's an implmentation of "It Just Works!".
But you're right, accessing by IP is a workaround. Could you please file a bug, so that the DHCP Client doesn't try to register the hostname in DNS? Also, please try to do away with all that auto configuration. Heck, you just need to enter the correct hardware data by hand. Hardly a big deal...
I'm glad somebody mentioned using the IP address. I've been going nuts trying to use LinNeighborhood and smb4k to connect a Knoppix client to a Knoppix file server. Turns out typing smb://192.168.1.107 into Konqueror works just fine.
Yes, it does - but in Windows, this might result in Windows putting/assuming the server to be in the Internet Zone and thus be more restrictive. Further, it may slow down transfers.Originally Posted by bitey
Not so, if you use the NETBIOS name - ie. \\KNOPPIX instead of \\192.168.1.107. So, IP isn't really a solution.
All of this would work fine, if each Knoppix box had a unique hostname. Quite a simple solution for a lot of problems...
I have this exact type of setup with my remaster, I have built a custom IDS solution with distributed sensors, central server (with redundants) and remote consoles. On boot up I added a cheatcode 'hostname' that determines the type of role that the machine will perform. This type of functionality, I believe, is what some of you are after.
If so you can easily achieve this with only a few extra lines of code to the linuxrc file in miniroot.gz
If anyone is interested I'll post some possible modifications to achieve this functionality. Fortunately this type of modification should not require a complete remaster and could be tackled by the novice Knoppix tinkerer.
The proposed modification would be:
1. Instead of standard 'Knoppix' hostname, it would be be something like 'knoppix-MACADDRESS'
2. If cheatcode is supplied override hostname (eg. boot: knoppix 'hostname=knoppix-1')
New Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 300m LC MMF Module
$69.99
CVR-QSFP-SFP10G Cisco 40G QSFP+ to 10G SFP+ Adapter Modules 74-9474-02 V01 V02
$74.99
Lot of 10 SFP-10G-SR V03 Original CISCO 10-2415-03 10GBASE-SR Multi mode Module
$60.00
New Cisco w/ Green Hologram SFP-10G-LR-S 10G SFP+ LR 1310nm 10km SMF LC Module
$34.99
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
Lot of 10 - HP 10Gb SR SFP+ Transceiver 455883-B21 455885-001 456096-001 850nm
$25.99
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$10.99
Mellanox Original MFM1T02A-SR 10GbE 10GBASE-SR SFP+ Transceiver
$9.00
Cisco WS-C4500X-16SFP+ 16 Port SFP Switch Dual AC. #4
$90.00
NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$18.00