Jump to content

kendalkake

Active Members
  • Posts

    55
  • Joined

  • Last visited

Everything posted by kendalkake

  1. Thank you for the reply :) That makes sense! This is how I am configured from AP back to fon....digininja has pointed out a fault with it and I respect his answer and no doubt he is right . I am misunderstanding somewhere.....Take a look. home router settings (my AP for the internet) IP: 192.168.1.1 Sub mask:255.255.255.0 (router set as DHCP on) ICS laptop (configured ok) Ethernet nic (fon connected to) IP: 192 168.0.1 (automatically set by windows in ICS set up, can not be changed) Preferred dns server: 192.168.1.1 (taken from ipconfig /all on my ICS nic) FON+ settings (wireless has been enabled with commands) uci set network.lan.ipaddr= 192.168.0.2 uci set network.lan.gateway= 192.168.0.1 uci set network.lan.dns= 192.168.1.1 uci commit network Then in /etc/config/dhcp...under the section config dhcp lan using vi editor I have added: list 'dhcp_option' '3,192.168.0.1' list 'dhcp_option' '6,192.168.1.1' Saved and exited using ZZ command. digininja's reply Quote: The problem is still that your gateway is on a different subnet to the rest of your network. You'll need to put that on the same network. ....................................................................... This is what I can not grasp but am obviously doing wrong....here is why I don't understand. If I change my lan gateway from 192.168.0.1 to 192.168.1.1 The fon will not connect to my ICS laptop as the nic it is connected to on that laptop is automatically configured to 192.168.0.1 by windows and it can not be changed. If I manually change the nic on my ICS laptop to 192.168.1.1 then I get an IP conflict on the system????? Where is my error??? I just can't see it....throw eggs if you like....lol :D All my clients connected to the fon can only browse google.
  2. I'm confused too If I change my lan gateway from 192.168.0.1 to 192.168.1.1 The fon will not connect to my ICS laptop as the nic it is connected to on that laptop is automatically configured to 192.168.0.1 by windows and it can not be changed. If I manually change the nic on my ICS laptop to 192.168.1.1 then I get an IP conflict on the system????? I don't understand what you are saying about my gateway being on a different subnet to the rest of my network.....If you could be a little more specific digininja It would help me a lot. :)
  3. Plug the fon into your router and check connected devices in the router set up page.....you should see your fon and an ip assigned to it.Leave the fon on the router and with another pc that is on your network log in to the webif gui using this Ip. Then you can configure the fon. If you are not on a router use nmap to find the IP that the fon was assigned.
  4. Thanks for the reply digininja :D :) Had another go today and started over again as I think I muddled myself up...lol. If I set out what I have done it may be easier for problems to be spotted. One thing I do know is that it is NOT an ICS setting problem with my laptop.Plug another laptop into the ethernet nic on my ICS machine and it shares 100%...no problem. OK here is what I have done so far...... home router settings (my AP for the internet) IP: 192.168.1.1 Sub mask:255.255.255.0 (router set as DHCP on) ICS laptop (configured ok) Ethernet nic (fon connected to) IP: 192 168.0.1 (automatically set by windows in ICS set up, can not be changed) Preferred dns server: 192.168.1.1 FON+ settings (wireless has been enabled with commands) uci set network.lan.ipaddr= 192.168.0.2 uci set network.lan.gateway= 192.168.0.1 uci set network.lan.dns= 192.168.1.1 uci commit network Then in /etc/config/dhcp...under the section config dhcp lan using vi editor I have added: list 'dhcp_option' '3,192.168.0.1' list 'dhcp_option' '6,192.168.1.1' Saved and exited using ZZ command. Any errors yet?.................................. What I plan to do next,if no errors.,and I don't know if this is right or not: Using webif set the lan to DHCP with a bridged connection and an IP of 192.168.0.2 No doubt I will get locked out of the fon as a "mystery" IP will be assigned to it after doing this in webif. Plug fon into my router,locate "mystery" IP,and on another machine on my network log in to webif on that IP and reset the fons IP to 192.168.0.2 (I think lol).......But I would probably use putty to do this thinking about it. Does DHCP have to be enabled by command using putty or did the webif gui do it when I set the lan to DHCP? The reason I ask this is that I have found a command line on the forum to start DHCP but I am not sure if it for linux machines or to be used in putty on the fon...... The command is this: /usr/sbin/dnsmasq -K -d -F 192.168.0.100,192.168.0.200 (IP examples are what I think I would use) I apologise for being such a pain but with the help of the experienced members I will get there in the end. thanx for all the help so far :) LATE EDIT.......Could this be my problem uci set network.lan.dns 192.168.1.1 and list 'dhcp_option' '6,192.168.1.1' should they both be on 192.168.0.1 ?? Just a late thought.
  5. Cheers :) .....just one point I may have misunderstood in there,although I have been here before and it failed. Quote: The point is, you want to plug in those DNS server settings from the ICS enabeld NIC into the IP properties of the other NIC, and save the configuration. Do I put those in: IP address: xxx.xxx.xxx.xxx or preferred dns server: xxx.xxx.xxx.xxx on the other nic? my 2 previous questions are still open to answers. :D
  6. :) Good afternoon! I have found conflicting instructions for setting up the fon+ with ICS in win xp can somebody please clear a couple of points for me. 1. Most guides say set the fon to DHCP with a bridged connection and IP of 192.168.0.250 using webif gui.....I have also read to give the fon a static IP and not DHCP with a bridged connection......Which one is correct? 2.quote: "You need to connect to the fon and on the OpenWRT gui change the fon router to have a DHCP & Bridged connection and put in the ip address 192.168.0.250"....? Ok my lan the fon is on has to be set to 192.168.0.1 (windows does this when setting ICS up and it can not be changed) Quote: And running a dhcp range of .1 to .250 is a bad idea, it only leaves you 4 static IPs to work with which limits what else you can have on the same subnet running on fixed IPs. so how can I avoid that range of 192.168.01 - 192.168.0.250? much obliged to anyone who can help. :)
  7. Running out of ideas now folks I have tried and tried again.Used different tutorials,operating systems,DHCP,static IP,tried my own ideas,pinged from here,pinged from there.......on the up google is still accessible! lol. I don't know how much more this poor little fon+ can take! Thought it was a DNS issue.... not so as far as I can see (if you can prove me wrong then please do so) :D Ping anything from the fon....no response. (not even 4.2.2.2) Indicating ICS is not correctly set....can't see where. Ping anything from a connected client and you get a response. connected clients can use google only. If anybody does know why I can not enable ICS 100% through this fon please nudge me in the right direction so I can seek answers. pleeeeease. thanx B)
  8. I have had to put it down for a bit now,this should have been a simple early stage to set up...pmsl. Been thinking and reading.....so battle will commence tomorrow. :P
  9. Been at this most of the day again...... <_< If I use the settings static ip and bridged connection in webif I can get " half-internet" and a connected client will show an IP and mac address in the jasager interface. (ip used 192.168.0.2) If I use the settings DHCP and bridged connection in webif I can get "half internet" but a connected client only shows a mac address NOT any IP in the jasager interface. (ip used 192.168.0.250) :) However on a brighter note I mentioned earlier that when I used webif to change the DHCP and IP settings and applied them I lost access to the fon. Do this to regain access: plug the fon into your router and go to your router log in page....Browse "connected devices" and you will see the fon and the Ip it was assigned....use this ip to regain access to webif,jasager,putty etc. I am now at a total loss as to why I can only get "half internet".....even after a fresh flashing?? oh woe is me....lol HELP!!!!
  10. :( back again! lol I can now connect to the internet with my home pc through the fon but the only thing I can connect to is google...lol. Any other web sites I try to view start to do so and the load bar goes about half way up....then failure with nothing visible on screen. I have looked through webif gui and can see that in "system" a warning to install NTP client is visible. Don't know if that would make a difference but I can't install it via webif gui anyway.
  11. Thanks Psychosis! I have been driving myself nuts with this...lol. The only thing is I must configure the fon around the automatic Ip that windows assigns to my ethernet nic when ICS is enabled....I have researched it and this can NOT be changed. If you do manually reconfigure the ethernet nic away from this automatic IP to match one set on the fon the internet connection is lost. :) will try again and see what happens....I'll post back later!
  12. I'm confused now....! static ip? My win xp will automatically set my ethernet nic to 192.168.0.1 when ICS is enabled,this cannot be changed. So I configured my fon to have an IP of 192.168.0.2...gateway 192.168.0.1 and lan dns of 192.168.1.1 (home router ip). So in webif I use static ip then not DHCP and a bridged connection and set at that? I read somewhere that DHCP must be enabled on the fon so was I wrong?
  13. I am not alone then! (thank god lol) Psychosis had explained to me earlier that when I use webif to enable DHCP on the fon that maybe a "mystery ip" had been assigned to it ,hence I could not connect to the fon afterwards. Where is this ip coming from??? I have disabled DHCP client in windows under services.msc....no joy. I have configured the fon around the automatic IP assigned to my ethernet nic by windows that the fon connects to....Ics worked for a while but only on my home pc no other devices would connect to the fon then it stopped working altogether.(you can not stop windows assiging this IP to your ethernet nic when ICS is enabled) I have tried turning off DHCP on my home router. I have tried countless times with webif always ends the same.....no contact with fon afterwards. I have reset and reflashed the fon starting again afresh ,about 12 times now ,and have spent many hours trying to figure this out. I have also used nmap and arp-a command to locate the fon's "mystery IP" ....It never shows up. Sorry to warble on guy's but it is not through lack of effort that I am failing. :( Thoughts for today.......Can DHCP be enabled on the fon through OpenWrt command line? (webif sucks) Do you need DHCP server enabled on the router you are using for internet connection? (if DHCP was enabled on the fon) Is there a way to stop windows assigning a fixed IP to my ethernet nic when enablingICS? Today is another day and who knows!!! I shall not give in!!!! :D Any input or ideas welcome :)
  14. I have tried and tried with this fon and got nowhere....DHCP will not enable on the fon through webif, all webif does is disables all connection to the fon. Ics will now not work at all (was working but only off home pc).I have tried a multitude of ip ranges and I have tried many ways on this forum to get ics up and running none of them any good. I have even tried through ubuntu all ending in the same result......nothing!!!! Is this fon fooked?
  15. :( Alas my victory was short lived...lol. Although my idea seemed sensible and kind of made sense,it only allows my home pc to connect through the fon.Any other devices that try to connect through the fon fail. I think my problem lies with DHCP settings as I am having problems activating this setting on the fon itself.....using webif to do this is somehow messing up access to my fon after trying to set DHCP. Boooooooo!!!!
  16. could'nt help myself......Let's go for it and see!!!!! at last....at last contact with the mothership....lol. All connecting fine now :D At least I have learnt a little along the way....slowly getting there. ;) Thanks for all your help and patience again Psychosis....also my thanks to digininja. B)
  17. I too received an email like this but when you proceed to buy Firefox screams an untrusted connection and the site may be fake........Better safe than sorry as you can't be too sure these day's pmsl. :D
  18. Hi again. B) As soon as I enable ICS windows automatically assigns an IP to my ethernet interface.....I have no way of stopping this as there are no options to do so.If I edit my ethernet interface to be on the same Ip as the fon after Ics has assigned an IP to it I then lose connection between my laptop wireless interface and home AP (router). Is there anyway I can stop windows assigning an IP to my ethernet interface automatically? Running win xp sp3. The only other option I can see at the moment is to configure my fon around the automatic Ip windows assigns to my etherenet interface.This Ip is not the same as my home router AP so no conflict should occur, I presume.It seems a round about way of fixing the problem and I'm not 100% sure it would work but I can't see why it would not. please advise....thank you. :) This is the configuration Idea I had for the fon....would it work? uci set network.lan.ipaddr=192.168.0.2 uci set network.lan.gateway=192.168.0.1 < automatcally assigned IP by windows to ethernet interface uci set network.lan.dns=192.168.1.1 < home router IP uci commit network then this in /etc/config/dhcp list 'dhcp_option' '3,192.168.0.1' list 'dhcp_option' '6,192.168.1.1'
  19. :) Hi psychosis! Just to let you know everything went to plan and installed as I thought it should.... but I still can't connect to the internet through the fon. However, I think I may have spotted the problem. When I enable ICS ,on the laptop, my ethernet nic (that the fon is on) gets assigned an ip that does not match the fon's range. I tried to manually configure the Ip on that nic to fall in with the fon's range and I lose the internet connection out from my laptop. I will experiment a little more tomorrow and tweak the fon a bit in hope that it will fix the problem. Thanks again for all your help B)
  20. Ahhhhh! now I see :) Yes my fon is connected to my ethernet adapter so I would need to change it's Ip to 172.20.0.1 < example ip.... as it is on the lan gateway if I was proceeding using those examples. Thank you very much Psychosis you have been a real help. I will post later and let you know how I get on. ;)
  21. Thank you for your patience and help Psychosis B) I have drawn a few conclusions from your advice and rather than ask a lot of questions I have set out below what I think went wrong and what needs to be done to fix it. I would be grateful if you could point out any errors or wrong assumptions that I have made. When I used webif it assigned a "mystery ip" to my fon and this is why I could not connect to it afterwards as I was using the wrong ip to ssh in? (not bricked then, someone had changed the lock...lol) These IP settings can not be the same either (conflicting) so fon needs a new ip range: fon+ local ip: 192.168.1.1 local ip mask:255.255.255.0 default server ip:192.168.1.254 my wireless router set up lan ip address: 192.168.1.1 sub mask: 255.255.255.0 router set as DHCP server start ip: 192.168.1.2 end ip:192.168.1.51 ssh into fon and execute these cmds I will solve this problem: uci set network.lan.ipaddr=172.20.0.2 < example ip uci set network.lan.gateway=172.20.0.1 < example ip uci set network.lan.dns=192.168.1.1 uci commit network (192.168.1.1 home router) (fons ip now 172.20.0.2) then In /etc/config/dhcp, under the section config dhcp lan, add: list 'dhcp_option' '3,172.20.0.1' < example ip list 'dhcp_option' '6,192.168.1.1' reboot Change my ethernet IP to be on the Fon’s range?? help!! lol , then SSH into its new IP address (mine is now 172.20.0.2). Accept the host key,log in and exit. then enable ICS ,as I am using win xp. Thanks again for your assistance :)
  22. Thank you both for your replies and advice...... appreciated :) so I ssh into my fon and found the following...... root@OpenWrt:~# vi /etc/config/wireless config wifi-device wifi0 option type atheros option channel auto #REMOVE THIS LINE TO ENABLE WIFI: option disabled 1 config wifi-iface option device wifi0 option network lan option mode ap option ssid OpenWrt option encryption none You will have to excuse my Linux but I do try...... Clearly my wifi is disabled and that is why I can not see an "OpenWrt" on my wireless networks. running this: uci set wireless.wifi0.disabled=0 && and uci commit wireless && wifi will enable it (option disabled 1 changing to disabled=0 from one of those commands) Does my wifi being disabled in this way account for my webif bricking the fon when I try to change the settings for DHCP and IP using the webif gui ? Just need to know as I have bricked my fon 4 times trying to change these settings to enable ICS in win xp and although it is good practice for unbricking....I am a little concerned that I may brick it for good.
  23. No..... digininja told me not to as I could enable the wireless with the jasager control panel. Should I ssh in and do this then? http://hak5.org/forums/index.php?showtopic=15392 or have I misunderstood him?
  24. Ok I had Jasager and webif installed great on my fon+. All worked well except that connected jasager clients could not access the net through my laptop running winxp connected to a wireless AP (my home router). Time to enable ICS in windows to allow this...or so I thought. So after a lot of reading I decided to follow this tut: http://wiki.hak5.org/wiki/Internet_Connect...mit_Der_Jasager 1 point that failed to make sense was "You want to associate your ICS’ed NIC to “OpenWrt” at this point. I presume that was to try to connect my main wireless ics nic to an ap of "Open Wrt",the default essid showing in the webif interface. However this did not show in my wireless connections even after refreshing the list...???? Tried proceeding anyway but when I saved and applied the settings in webif for dhcp and ip the process paused and the fon becomes bricked (no access to it at all). Been at this for many hours now and seem to be going round in circles with no reward. No doubt it is something I have missed or done wrong. Be grateful of a little help please Don't know if this would be the cause....... fon+ local ip: 192.168.1.1 local ip mask:255.255.255.0 default server ip:192.168.1.254 my wireless router set up lan ip address: 192.168.1.1 sub mask: 255.255.255.0 router set as DHCP server start ip: 192.168.1.2 end ip:192.168.1.51 don't know if they should be similar or not. all firewalls are turned off just in case one is blocking access. Tried enabling wireless on jasager control panel and setting up....still can't see "OpenWrt" ap
  25. I had a similar problem to NoOne when trying to install webif with this method... root@OpenWrt:~# echo "src X-Wrt hxxp://downloads.x-wrt.org/xwrt/kamikaze/8.09/atheros/packages" >> /etc/opkg.conf replace hxxp with http root@OpenWrt:~# opkg update root@OpenWrt:~#opkg remove -recursive luci-* root@OpenWrt:~# opkg update root@OpenWrt:~# opkg install webif root@OpenWrt:~# reboot Ran this first to remove my previous attempts at webif. opkg -recursive remove haserl so I followed NoOnes manual install method and got it to install ok Downloaded and moved these files to the tmp directory on the fon using winSCP haserl_0.9.24-1_mips.ipk webif_0.3-4709_mips.ipk webif-theme-xwrt_0.3-4709_all.ipk after changing from root@OpenWrt~# to tmp and commencing install : Installed the files using putty. opkg install haserl_0.9.24-1_mips.ipk opkg install webif_0.3-4709_mips.ipk opkg install webif-theme-xwrt_0.3-4709_all.ipk Got both interfaces now at 192.168.1.1 192.168.1.1:1471 Another step over.... thanx all. :D
×
×
  • Create New...