**** BEGIN LOGGING AT Thu Apr 22 02:59:57 2010 Apr 22 07:54:24 barbon: I am now Apr 22 07:54:33 barbon: That command doesn't seem to make sense Apr 22 07:55:19 barbon: You did try my suggestions before, right? Was DHCP working at all? Or did you get working DHCP, but not working static assignments, perhaps? Apr 22 07:57:30 i tryed Apr 22 07:57:34 and nothing happened Apr 22 07:57:52 router continue to use dhcp and after the rebot i cant surf internet Apr 22 07:58:01 and i haved reseted >_> Apr 22 07:58:26 k, I'll try myself, see what happens :-) Apr 22 07:58:26 so i have do these thing Apr 22 07:58:37 1. disabled my router dhcp Apr 22 07:58:58 2. i have looked the file /etc/config/luci_ethers Apr 22 07:59:02 is already configured Apr 22 07:59:51 3. i changed the option ignore option under the "wan" (ignore option for "lan" dont exist) interface to "0" instead of "1" in /etc/config/dhcp Apr 22 07:59:53 option 'ignore' '1' Apr 22 08:00:33 barbon: Can you send me your /etc/config/dhcp? Apr 22 08:00:44 i dont have here that file now Apr 22 08:00:45 (pastebin it somewhere) Apr 22 08:00:48 Ah :-) Apr 22 08:00:49 :( Apr 22 08:00:57 my fon is at home Apr 22 08:01:08 You should set up a port forward for SSH on your modem :-) Apr 22 08:01:25 i know Apr 22 08:01:27 :P Apr 22 08:02:06 the option ignore option is under "wan" Apr 22 08:02:12 not under the "lan" Apr 22 08:02:44 try yourself :) Apr 22 08:04:01 I have ignore options on both lan and wan Apr 22 08:07:27 mmm Apr 22 08:07:31 you have bridge? Apr 22 08:12:34 Yup Apr 22 08:18:34 mmm is strange Apr 22 08:18:52 you have make a clean installation of firmware? Apr 22 08:18:57 or upgraded? Apr 22 08:19:25 blathjis try and complete the test :P Apr 22 08:21:26 barbon: It's a clean install of 2.3.6.0 ( I take it you're running Gari as well? ) Apr 22 08:21:51 yes Apr 22 08:21:56 I'm re-reading the script, since it seems I've not completely understood it yet Apr 22 08:22:06 ok Apr 22 08:27:53 so the upgrade function dont make a "full upgrade"? Apr 22 08:28:13 or maybe is a not important script Apr 22 08:28:15 :P Apr 22 08:28:51 blathjis Apr 22 08:28:57 disable bridge Apr 22 08:29:03 and create some custom host Apr 22 08:29:20 so you have a base script Apr 22 08:29:28 of luci_ethers Apr 22 08:31:00 barbon: I don't think luci_ethers is the problem, if DHCP is not working at all for you. Apr 22 08:33:02 Hmm, the network configuration stuff is a bit confusing, apparantly /lib/network/config.sh does some post-processing of the values in /etc/config/network.. Apr 22 08:34:18 so there is a way? Apr 22 09:05:08 blathijs any progress? Apr 22 09:17:26 barbon: A bit, I'm reading more code and have nearly figured out how bridge mode works :-) Apr 22 09:17:55 cool Apr 22 09:18:12 The interesting thing is that bridge mode doesn't really seem to affect the bridge created (LAN ports and private wireless are always bridged), but it affects the VLAN assignment of the WAN port Apr 22 09:20:01 oh... Apr 22 09:26:30 I don't quite understand how the "ignore" option ended up in my lan section, though. Apr 22 09:26:42 And I'm not quite sure why you don't have it (and why it isn't working without it) Apr 22 09:29:33 maybe i have to make a clean installation Apr 22 09:29:45 so if you try to do these thing to your router Apr 22 09:29:48 what happen? Apr 22 09:30:33 Ah, it seems config_dhcp in /lib/fon/config.sh sets the ignore property when bridge is enabled Apr 22 09:32:41 Seems that should happen on boot. Not sure why it hasn't happened for you... Apr 22 09:32:59 Anyway, let's see what actually happens when I remove the ignore 1 option Apr 22 09:34:01 so dhcp from fon work? Apr 22 09:46:09 Yup, I do get DHCP Apr 22 09:46:24 but it doesn't set the gateway right, so internet is broken then. Apr 22 09:46:46 barbon: When you tried, did you get no address from DHCP, or did you just see that your internet didn't work? Apr 22 09:47:17 internet was broken Apr 22 09:47:27 also not found ip Apr 22 09:47:33 and need to set it manualy Apr 22 09:48:38 the ip Apr 22 09:52:44 Hmm, that would suggest you got less far than me :-) Apr 22 09:56:57 yea :P Apr 22 09:57:10 so what we can do? Apr 22 10:03:30 I think we need to tell dnsmasq about the ip address Apr 22 10:03:56 However, there doesn't seem to be a generic "pass more options to dnsmasq" variable (it is documented somewhere, but apparently not implementated) Apr 22 10:04:03 s/at// Apr 22 10:06:02 damn :( Apr 22 10:07:51 Just editing the RestartDnsmasq script should work, though Apr 22 10:09:10 you can try? Apr 22 10:09:16 so if work i do the same :) Apr 22 10:11:49 Hah, this seems to work Apr 22 10:12:52 Didn't edit te script, but exploited some weirdness in the script by adding a dummy mac assignment. For some reason, this can also set a random other DHCP option... Apr 22 10:17:12 is working? Apr 22 10:21:00 if working you can tell me all istructions for do it? :P Apr 22 10:22:09 I'll just try with the script-changing approach, since what I've done now is ugly :-) Apr 22 10:25:15 Yup, that works as well Apr 22 10:25:59 barbon: In the file /etc/fonstate/RestartDnsmasq, there is a line: args="" Apr 22 10:26:14 Directly after that, add: append args "--dhcp-option=3,192.168.1.254" Apr 22 10:26:47 Where 192.168.1.254 is the address of your modem, which you've also configured as "gateway" on the Fonera. Apr 22 10:27:13 ad after? i do the same things that you told later? Apr 22 10:27:41 change the option ignore option under the "wan" (ignore option for "lan" dont exist) interface to "0" instead of "1" in /etc/config/dhcp Apr 22 10:27:51 i try to add the missing option under lan so? Apr 22 10:28:03 barbon: AFAICS, there is no need to change the ignore option in the wan section. Apr 22 10:28:17 only the lan Apr 22 10:28:21 barbon: And not having the ignore option should be the same as 0, but you could try adding it Apr 22 10:28:54 barbon: Perhaps you should reboot your Fonera to start with, see if the ignore option perhaps appears then Apr 22 10:29:07 yea Apr 22 10:29:27 barbon: Also, the ignore option should reappear on every boot, so when I reboot my Fonera, I'll have to set ignore to 0 again I think Apr 22 10:30:30 and for dhcp configuration i configure luci_ethers file right? Apr 22 10:30:57 Yup, but that one was already filled for you, right? Apr 22 10:30:57 maybe you can report these thing to iurgi Apr 22 10:31:02 yea Apr 22 10:31:12 because i haved used dhcp time ago Apr 22 10:31:16 the manual one* Apr 22 10:31:22 Yeah, that makes sense. Apr 22 10:31:37 so dont need to configure again? Apr 22 10:31:56 What do you mean by "configuring" here? Apr 22 10:32:05 If the right stuff is already in the file, there's nothing to do, right? Apr 22 10:32:12 yea Apr 22 10:32:20 ok so is already configured :) Apr 22 10:32:47 blathjis tonight i test, if work you can give these information to iurgi Apr 22 10:32:58 maybe can be "fixed" in next fw version Apr 22 10:34:40 like an option for enable fonera dhcp or not Apr 22 10:34:55 if you enable it automatly insert the bridge name into RestartDnsmasq Apr 22 10:35:13 err.. i mean the gatergay Apr 22 10:35:15 "bridge name" <-- I think you mean gateway address? Apr 22 10:35:17 :-) Apr 22 10:35:18 yea Apr 22 10:35:20 :P Apr 22 10:35:33 Where would this configuration end up, then? Apr 22 10:35:49 it must be in dhcp gui page of fonera Apr 22 10:35:54 Where do you normally enable/disable the DHCP server? LAN page, I think? Apr 22 10:36:00 yea Apr 22 10:36:18 when you use bridge is disabled Apr 22 10:44:57 thank youblathjis ^^ Apr 22 10:45:11 thank you blathjis ^^ tonight i try Apr 22 10:48:38 barbon: Don't forget to save the log (or did you bookmark that link?) Apr 22 10:48:54 i have saved it on my google page notes Apr 22 10:48:55 :P Apr 22 10:52:32 blathijs Apr 22 10:52:40 if a pc is not in the dhcp list Apr 22 10:52:55 the router take automatly an ip? Apr 22 10:52:57 yes Apr 22 10:53:14 ok Apr 22 15:14:08 win 20 Apr 22 15:14:11 crap Apr 22 15:15:58 what? Apr 22 15:17:26 i have windows 7 Apr 22 15:21:19 haha Apr 22 15:21:35 I meant to type "/win 20" to make my IRC client switch to window 20 Apr 22 15:21:59 [ERROR] The command “win” is not known to the server. Apr 22 15:22:28 [ERROR] The command “lose” is not known to the server. Apr 22 15:22:34 lol Apr 22 15:23:25 hehe Apr 22 16:08:14 blathijs where are y from? Apr 22 16:08:51 the Netherlands. Apr 22 16:11:31 yea right ^^ Apr 22 16:11:38 you have already told me that time ago Apr 22 16:12:24 [ERROR] The command “fail” is known from Chuck Norris to you Apr 22 16:12:25 And you didn't even remember? Apr 22 16:12:26 :-p Apr 22 16:12:34 too much people xD Apr 22 18:59:34 blathjis Apr 22 18:59:41 blathijs* Apr 22 18:59:55 internet work but dhcp is still incorect Apr 22 18:59:57 mmm Apr 22 19:01:48 Barbon: Huh? Apr 22 19:26:21 mmm Apr 22 19:33:44 Blathijs your solution has some problem Apr 22 19:33:55 i tried now Apr 22 19:34:11 it dont take the pre-defined ip from file Apr 22 19:34:23 and my brother pc cant surf on internet Apr 22 19:34:23 (me yes) Apr 22 19:35:47 21:34:10 < Barbon> it dont take the pre-defined ip from file <-- what do you mean by that? Apr 22 19:36:00 And does your brother get an ip address and proper gateway? Apr 22 19:37:23 my brother dont get a ip Apr 22 19:37:47 me yes but is not the same of luci_ethers Apr 22 19:39:46 Can you check that the DHCP server is really the Fonera? Apr 22 19:39:52 I think ipconfig /all should show that Apr 22 19:41:01 where i can check? Apr 22 19:41:05 ipconfig/all? Apr 22 19:54:07 yeah, that's what I said Apr 22 20:07:21 wait 30 min when my brother go to sleep Apr 22 20:07:25 so i can test :) Apr 22 20:08:48 I might be in bed by then, though :-) Apr 22 20:09:12 Barbon: Could you pastebin /etc/fonfig/network, /etc/config/fon and /etc/config/dhcp from your Fonera? Apr 22 20:15:16 ok Apr 22 20:17:26 http://pastebin.com/UHr0CTpe Apr 22 20:31:08 gotta go ow, I'll look tomorrow Apr 22 23:51:54 is fonosfera the same as openwrt? **** ENDING LOGGING AT Fri Apr 23 02:59:56 2010