FON NEW KERNEL >= 2.6.21.1 SPECIAL FLASH METHOD

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Qualcomm Atheros based Hardware
Goto page Previous  1, 2, 3, 4 ... 14, 15, 16  Next
Author Message
meltyblood
DD-WRT User


Joined: 06 May 2007
Posts: 114

PostPosted: Tue Jun 19, 2007 2:45    Post subject: Reply with quote
Yes. That's exactly why. It would be a good idea to make sure that the fonera and the router don't have the same IP address. Change either the router's IP or the fonera's IP to '192.168.[number_other_than_1].1' (see "/etc/config/network"). You can of course change the other numbers as well, but why complicate matters.

Consider this a reply to the next post from Slam:
The FF flash utility is a simple gui program. If you run into a problem, by all means use Redboot commands. No other options or secrets exist in the flash utility.

_________________
BNP.org.uk


Last edited by meltyblood on Tue Jun 19, 2007 20:08; edited 2 times in total
Sponsor
Slam_
DD-WRT Novice


Joined: 27 May 2007
Posts: 25

PostPosted: Tue Jun 19, 2007 3:30    Post subject: Reply with quote
Hi I have come across a problem using the Freifunk flashing utility trying to install ddwrt.

Using Freifunk to upload the root.fs.bin and vmlinux.bin.l7.lzma, I get this

Code:

df
Filesystem     1k-blocks            Used  Available   Use%   Mounted on
/dev/root           2688            2688          0    100%  /


Using the good ole fashioned way from ddwrt wiki on another Accton I flashed recently

Code:

df
Filesystem        1k-blocks            Used  Available   Use%   Mounted on
/dev/root             2688             2688          0    100%   /
/dev/mtdblock/4       4096              340       3756      8%   /jffs


Have I overlooked something and is there a way to create the MTD block?

Thanks in advance

Regards

Slam

P.S sorry if this has already been mentioned.

EDIT: I have also just checked the output of "nvram list" and I get nothing back......and yes I did tick "Create Nvram Partition (for DD-WRT)" in the Freifunk flashing utility...
delirium
DD-WRT Novice


Joined: 18 Mar 2007
Posts: 26

PostPosted: Tue Jun 19, 2007 6:35    Post subject: Reply with quote
in the network conf I changed the option_address for the lan and wlan to 192.168.10.1

now everyone can see the internet and everything works great, but I can't access the webif from the wired connection still, would this be the firewall on the fonera?

EDIT: also, I changed the busybox port to 81 and am now trying to install thttpd-php, but even if i wget it and try to ipkg install I get an error like this:
Code:
root@Legend:~# ipkg install thttpd-php_2.21b-2_mipsel.ipk
Clearing state_want and state_flag for pkg=thttpd-php (arch_priority=0 flag=16 want=2)
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package thttpd-php.
Check the spelling or perhaps run 'ipkg update'


Last edited by delirium on Tue Jun 19, 2007 10:48; edited 1 time in total
nils27
DD-WRT User


Joined: 12 Feb 2007
Posts: 191
Location: Aachen (NRW)

PostPosted: Tue Jun 19, 2007 9:38    Post subject: Reply with quote
Same here,
I can't access the web GUI via eth0 but it works on ath0 though.

Another problem is that I can't commit changes.
e.g. changing the hostname stucks right here:
Code:

Updating your configuration...

Committing system ...
ln: /tmp/resolv.conf: File exists
Committing timezone ...
Exporting TZ setting ...



EDIT:
Just to confirm this, I can't save any settings via Web GUI and the LAN connection to the web server still doesn't work.
meltyblood
DD-WRT User


Joined: 06 May 2007
Posts: 114

PostPosted: Tue Jun 19, 2007 16:05    Post subject: Reply with quote
I had it working before but I changed something.
If you want to access the fonera over wan (ie through another router), type this into the command line:
Code:

echo 'iptables  -A  input_wan  -p tcp --dport 80 -j ACCEPT' >> /etc/firewall.user


You will then have access over the address the router gets via DHCP (not 192.168.1.1 except with wireless, you may have to reboot). You will be able to ssh in without this because I left port 22 open. Telnet uses port 23. Thank you for pointing this out.

The webinterface shouldn't be concerned with resolv.conf for modifying the hostname. It should have modified this file: "/etc/config/system". You can "vi /etc/config/system" to get it to what you want. The webif developers should fix this, eventually. Please look for more problems and feed me more complaints.

_________________
BNP.org.uk
hard_where
DD-WRT User


Joined: 13 Feb 2007
Posts: 141

PostPosted: Tue Jun 19, 2007 17:32    Post subject: Reply with quote
anyone got this trying to fis create vmlinux.bin.l7 with R4?

Can't locate c0000(786432) bytes free in FLASH
meltyblood
DD-WRT User


Joined: 06 May 2007
Posts: 114

PostPosted: Tue Jun 19, 2007 17:39    Post subject: Reply with quote
I congratulate you. That was the original purpose of this entire thread. That was why I listed the Redboot commands for 2.6.21.1 or greater kernels. Did you use those instructions? If so, try the FF flasher. I have had no problems flashing with the Freifunk flasher so far, but it is possible that you can run into odd circumstances. It sounds like you used the instructions for the older kernel, since that is precisely the same error I got when I tried older Openwrt flash instructions

Wait, you said "anyone got this trying to fis create vmlinux.bin.l7 with R4?" DD-WRT uses vmlinux.bin.l7 as a kernel, not OpenWrt. What R4 are you referring to?--Technically, vmlinux.bin.l7 is inside the lzma file for openwrt. Redboot handles this.

_________________
BNP.org.uk


Last edited by meltyblood on Tue Jun 19, 2007 18:21; edited 1 time in total
hard_where
DD-WRT User


Joined: 13 Feb 2007
Posts: 141

PostPosted: Tue Jun 19, 2007 17:56    Post subject: Reply with quote
meltyblood wrote:
I congratulate you. That was the original purpose of this entire thread. That was why I listed the Redboot commands for 2.6.21.1 or greater kernels. Did you use those instructions? If so, try the FF flasher. I have had no problems flashing with the Freifunk flasher so far, but it is possible that you can run into odd circumstances. It sounds like you used the instructions for the older kernel, since that is precisely the same error I got when I tried older Openwrt flash instructions

Wait, you said "anyone got this trying to fis create vmlinux.bin.l7 with R4?" DD-WRT uses vmlinux.bin.l7 as a kernel, not OpenWrt. What R4 are you referring to?


My bad, printed out the wrong (older) instructions. New way works fine.
delirium
DD-WRT Novice


Joined: 18 Mar 2007
Posts: 26

PostPosted: Tue Jun 19, 2007 18:43    Post subject: Reply with quote
about my last post. does anyone else get these errors? I'm not able to install anything via ipkg, I keep getting the same error, and I have added the repository link
meltyblood
DD-WRT User


Joined: 06 May 2007
Posts: 114

PostPosted: Tue Jun 19, 2007 18:54    Post subject: Reply with quote
If you are using Rev4, you shouldn't have to modify the repository list. Ipkg works fine. If you can't install ANYTHING, then you should reflash to Rev 4 and try again. I will try the original package you listed from a new-from-scratch rev 4 flashed router. I have installed other packages during testing without problems, even to mmc and cifs.

Make sure you cd to the directory where you put your ipkgs before you run that command (ie "cd /tmp"). If you want to pull that package from the repositories, run "ipkg update", and "ipkg install [packagename]". There is no need for wget if that package is in one of the three repositories in the list (and it should be).

-- thttpd-php is not a package in my repositories. Where did you find it?

_________________
BNP.org.uk
delirium
DD-WRT Novice


Joined: 18 Mar 2007
Posts: 26

PostPosted: Tue Jun 19, 2007 19:13    Post subject: Reply with quote
no it's not in any of those repositories, I tried adding the http://www.lillesansfil.org/ipkg repository, but I suspect I get errors because I bet those are white russian builds. I wish I knew where to find a kamikaze build, I don't have enough room to do a lighttpd+php install
meltyblood
DD-WRT User


Joined: 06 May 2007
Posts: 114

PostPosted: Tue Jun 19, 2007 19:24    Post subject: Reply with quote
I'm getting a page not found error on that link. Perhaps that's why it can't find the package.
maybe you mean this: http://lillesansfil.org//ipkg/

--I think I just posted the top edit at the same time Slam pitched-in.

_________________
BNP.org.uk


Last edited by meltyblood on Tue Jun 19, 2007 19:30; edited 2 times in total
Slam_
DD-WRT Novice


Joined: 27 May 2007
Posts: 25

PostPosted: Tue Jun 19, 2007 19:27    Post subject: Reply with quote
http://lillesansfil.org/ipkg/

That works for me.


Regards

Slam
delirium
DD-WRT Novice


Joined: 18 Mar 2007
Posts: 26

PostPosted: Tue Jun 19, 2007 19:29    Post subject: Reply with quote
when you enter http://lillesansfil.org/ipkg/ it works (needs last slash)

this might cause some kind of problem, but it shows up in the ipkg list when I do ipkg update in webif
and I can wget it independent of ipkg right? because that doesn't work either

EDIT: still not working, does show in ipkg update but won't let me install, still gives same error
meltyblood
DD-WRT User


Joined: 06 May 2007
Posts: 114

PostPosted: Tue Jun 19, 2007 19:41    Post subject: Reply with quote
wget can't fail. It's just a downloader. Make sure you copy the link right. MAKE SURE YOU cd TO /tmp BEFORE YOU USE wget. I don't feel confident about the packages from that repository. It looks like the stuff was built for an old 2.4 kernel, which means it might not even be built for this platform. It might even be broadcom stuff, which is useless for atheros SoCs.
_________________
BNP.org.uk
Goto page Previous  1, 2, 3, 4 ... 14, 15, 16  Next Display posts from previous:    Page 3 of 16
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Qualcomm Atheros based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum