I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / MSN Companion
DHCP in jailbait?

New MessageDHCP in jailbait? (modified 0 times) DGMage
Profile | Email
Ok, I have a IA-1 with Rasmus's build of Jailbait, it's up and running fine from what I can tell. However, when configuring it, I'm not sure what to do about ethernet... I have a Linksys USB100TX, which my hub is showing as active, and which I can see on eth0 on the device. however, running pump -i eth0 isn't pulling from DHCP, and I can't really set a static IP since I'm on a cable modem. Any ideas on how I can pull an IP?
12-18-2001 18:51:46

New MessageRE:DHCP in jailbait? (modified 0 times) Root
Profile
try supplying a host name

pump -h myhostname -i eth0

Works fine with my netgear rt311, as well as with a freesco router i haveİ

rootİ

12-18-2001 19:53:28

New MessageRE:DHCP in jailbait? (modified 0 times) DGMage
Profile | Email
Should I just skip the ethernet setup at the install, also?
12-18-2001 21:48:23

New MessageRE:DHCP in jailbait? (modified 0 times) DGMage
Profile | Email
Ok, answered my own question (yes, I should), things work great now! It was actually an issue with the USB port, I have to plug in the network card *after* I boot, and then pump to eth0. IRCing on the iPaq, WHEEEE! :)
12-18-2001 22:21:56

New MessageRE:DHCP in jailbait? (modified 0 times) erroneus
Profile
Having to physically connect the hardware AFTER bootup seems like a cumbersome approach to things. I think that our "Default-Guru" Rasmus might have an answer to this common circumstance. HOWEVER!

I would first like to ask why you are connecting this device to the internet directly?? If you already have other computer(s) connecting, why not connect "through" that device rather than along with it? It's better, easier and safer to do it like that. I am going through my Linux firewall and it is hosting DHCP to my IA-1. Works great, no problems. However, I haven't loaded Linux on it seriously yet. I want to continue using the Companion software for a bit longer because I'm learning all I can about it before abandoning it... what I'd LIKE to do is get at least one more of these IA-1's for Linux'ing... that's what I plan to do anyway.

Anyway, having to connect the device post-boot is an issue that needs to be addressed. Have you considered modifying the init process in some way? How about creating an init script for yourself that unloads the module, reloads the module and then performs the init processes for the ethernet device? That would most likely simulate the act of plugging it in post-boot wouldn't it?

12-18-2001 22:35:19

New MessageRE:DHCP in jailbait? (modified 0 times) DGMage
Profile | Email
I havn't really taken time to analyze it yet, I need to grep through boot logs to see what's failing on boot that then works afterward. Will keep the group updated, this is definatly interesting.
12-19-2001 00:05:41

New MessageRE:DHCP in jailbait? (modified 0 times) Rickster
Profile | Email
OK, I now have a completely functional IA-1 with the latest jailbait image from rasmus but I can't seem to get dhcp to work. After looking at the network script in /etc/init.d it says it is looking for a file to exist called /etc/config/pump and if so it executes pump (correct me if I'm wrong here, my scripting is a bit rusty). If I touch a file called pump in the config directory, the boot process stalls at the link NOT established error (0x7849) Check the cable. If I unplug the D-Link before booting and plug it in after boot, it detects the device and seems to configure it, I can then do an ifconfig and enter all my static IP informnation and everything works fine but I still can't use pump. If I delete the /etc/config/pump file, the machine boots fine but dhcp doesn't work (even if I run it manually using pump -h hostname -i eth0). I had a similar problem on the same network with another machine (dhcp problem but boot sequence didn't stall) and to fix it I had to set the timeout on the dhcp client higher (that machine uses dhcpcd, I don't see an option for this in pump). Any ideas? I will give this another couple of days if I can't get it to work I will just configure it to use a static IP address (The machines final location will be in my kitchen attached to a Linksys router) although I would rather have DHCP so if rr changes nameservers I don't have to edit anything.
12-20-2001 15:22:02

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3