Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So much for my theory that the smb/cifs version just wasn't authenticating properly. I set up a share on a machine outside the domain (in a workgroup) but the intrid system won't pick that up ether. Inside the limited shell I'm still getting the return code -22 error, and I can still mount it without dificulty if I boot from CD.
I have now decided to try downloading and burning Knoppix 3.9 and 5.0 to see if this problem is a bug in this particular version.
Right, downloaded knoppix 5 ISO. Built kernel, intrid, and PXE config files with all of the network probes. Copied them all to NFS server, along with all the files from new ISO which the NFS server shares as 10.1.1.1:/cdrom . Updated PXE server config to match the config from KNOPPIX server as closly as posible. Booted to PXE.
...
The machine still won't automaticaly mount the NFS share, nor the SMB/CIFS share using the smb intrid for knoppix 5.0 . I did try doing it manualy and I thought I had something, becuse there where no errors! But it haddn't actualy done anything, and "mount -t nfs wibble wibble" didn't throw any errors either.
Honestly, this should be a no brainer. Its starting to piss me off.
1. Boot Knoppix CD
2. Run the PXE configurator
3. Make sure you select the correct nic drivers for etherboot.nbi boot image
4. mkdir /cdrom (on your permanent NFS server)
5. cp -rf /mnt/cdrom NFSSERVER:/cdrom (only really need KNOPPIX/KNOPPIX)
6. move /tftpboot files to alternate server (TFTP server) if neccissary
7. change any ip's in /tftpboot/pxelinux.cfg/default if neccissary
That's all I needed to get this baby running.
Reasons for Cant moun't NFS server error;
1. client did not recieve ip / has incorrect ip
2. nfs mount are not exported (exportfs -a)
3. paths are wrong
4. permissions are wrong (unlikely)
5. remote chance you NIC is buggy because that tulip module has been around for eternity.
1. Boot Knoppix CD
check
2. Run the PXE configurator
check, repeatedly
3. Make sure you select the correct nic drivers for etherboot.nbi boot image
check, cross out, check again, black out with vivid
4. mkdir /cdrom (on your permanent NFS server)
check (although I did this from the server)
5. cp -rf /mnt/cdrom NFSSERVER:/cdrom (only really need KNOPPIX/KNOPPIX)
check (as above)
6. move /tftpboot files to alternate server (TFTP server) if neccissary
Is it necasary that the TFTP server be a different machine? I have one server that does every thing. Oh, check
7. change any ip's in /tftpboot/pxelinux.cfg/default if neccissary
check, check again, and again ....
Reasons for Cant moun't NFS server error;
1. client did not recieve ip / has incorrect ip
This is a distinct possibility that I hadn't thought of.
2. nfs mount are not exported (exportfs -a)
check, repeatedly
3. paths are wrong
check, if they where wrong I wouldn't be able to mount after KDE starts either.
4. permissions are wrong (unlikely)
This is the last thing I want to check considering it's running on Cygwin.
5. remote chance you NIC is buggy because that tulip module has been around for eternity.
Check, runs super smooth once KDE is up, or through DSL server straight from PXE. Also the same problem happens with another laptop.
I will look into the possibility of no IP (dam windows DHCP server) but I seem to vaguely remember passing a static IP to it early in this drama. And also permisions, which is not something I relish: windows permisions, two sets of linux permisions, all saying different things, yay!
And yes, I am a persistent bugger. It's a suvival trait in heterogeneous networks, along with resistance to insanity, having a high mental pain theshhold, and speaking the same language as the rabid monkey gods that appear when you haven't had enough sleep.
I have now tryed it with the "IPAPPEND 1" pxelinux option that is supposed to pass on the IP address to its booted linux. Nothing. The DHCP server is acnologing its request for an IP, and is giving it 10.1.1.35 if I ping this while knoppix is in its limited shell then it dosen't respond.
The samba variant, I discovered has the "ifconfig" command avalible (thanks to the cif pakage I think). It reports that the only IP address the the machine has is 127.0.0.1 on the loopback device, and there is no mention of eth0. It may be posible to bring up eth0 from the limited shell, but I'm having difcultys so far.
So, finaly the problem is identifyed: the PXE client has no IP. Now all I need is a solution.
this IP force does nothing.
I'm now running with the device driver not working as when I issue the command :
"ifconfig eth0 up"
I get the error:
"eth0: ERROR while getting Interface flags: no such device"
most of the stuff I've found on google suggests using "modprobe <driver>" to bring the eth0 device into existance, but I don't have the modprobe command. Is ther any other way of doing this?
I suppose I could remaster the intrid file so that it has the modprobe command. is it a straght binary or shell script? or would this be a bit more involved?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.