Nakaori Posted January 14, 2009 Posted January 14, 2009 ok. i am reflashing my fon for the 3rd time right now and i cant get the ics tutorial to work with my fon and eee-pc. i am doing exactly what is written in the tut but after doing the dhcp step in webif and then rebooting the fon, it remains unreachable. i think the fon then waits for an adress on boot, which it cant get right.. did anyone try a way to remain on static ip and use a gateway manually? //edit: what i already tried is sshing in and route add default gw 192.168.0.20 192.168.0.20 is my eees wired interface which gets internet through firestartes connection sharing (SHOULD) Quote
digininja Posted January 15, 2009 Posted January 15, 2009 are you using windows or linux as the donor machine? when you say "it remains unreachable" what do you mean, I thought you meant the fon but then you say you can connect to it. Quote
cgw007 Posted January 15, 2009 Posted January 15, 2009 ok. i am reflashing my fon for the 3rd time right now and i cant get the ics tutorial to work with my fon and eee-pc. i am doing exactly what is written in the tut but after doing the dhcp step in webif and then rebooting the fon, it remains unreachable. i think the fon then waits for an adress on boot, which it cant get right.. did anyone try a way to remain on static ip and use a gateway manually? //edit: what i already tried is sshing in and route add default gw 192.168.0.20 192.168.0.20 is my eees wired interface which gets internet through firestartes connection sharing (SHOULD) You should not have to reflash the fon. It is waiting for a dhcp server. After you set it to dhcp it no longer has a static ip. Use tftpd in windows and you will see it get an ip and you can connect and take it out of dhcp and set it back to static. Quote
digininja Posted January 15, 2009 Posted January 15, 2009 If he can ssh in then it isn't waiting for an address through dhcp it already has one Quote
Nakaori Posted January 15, 2009 Author Posted January 15, 2009 hi, sorry for confusing. i cant actually ssh in.. i can only connect to the "openwrt" wifi. but cant find the ip from the router. i am using linux as the donor pc.. the connection is shared via firestarter with dhcp3 server. Quote
digininja Posted January 15, 2009 Posted January 15, 2009 when you connect to openwrt, do you get an ip address given out from it? You have a dhcp server running on your pc, try running wireshark and listening to see if you get any dhcp requests coming from the fon, either on wired or wireless. I've never thought about brining up an AP but then having that try to get an IP address from one of its clients, it may be possible but don't know for definite. Quote
Nakaori Posted January 15, 2009 Author Posted January 15, 2009 when you connect to openwrt, do you get an ip address given out from it? You have a dhcp server running on your pc, try running wireshark and listening to see if you get any dhcp requests coming from the fon, either on wired or wireless. I've never thought about brining up an AP but then having that try to get an IP address from one of its clients, it may be possible but don't know for definite. thats not the thing anymore.. i reflashed the fon and i got static ip again. now, is there a way to remain on static? i.e. adding the nameservers to resolv.conf and route add default gw? what would the default gw be then? it should be the ip adress bound to the ethernet interface wired to the fon right? //EDIT: Alright i got it working... more or less.. i set up masquerading which is ics for linux. the mark gets an ip adress from the dhcp server on my eee. after setting the default gw and adding the nameservers from opendns.org i can ping google from my fon. i cant ping google on the marks pc. i CAN ping googles ip from the marks pc. so the problem now is, that i dont deliver a valid dns server to the marks pc. any ideas on this? //EDIT 2: I GOT IT! you have to redirect the dns requests. this isnt done with adding the dns to resolv.conf. you have to edit the /etc/dnsmasq.conf and add the following line: dhcp-option=6,X1X.X1X.X1X.X1X,X2X.X2X.X2X.X2X where X1X is the first dns server and X2X the second one. perhaps the servers from opendns? ;) Quote
digininja Posted January 15, 2009 Posted January 15, 2009 Glad its working. I always find it good when you work something out yourself, generally makes it a lot easier to troubleshoot next time. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.