Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon Jul 23, 2018 8:55 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 152 posts ]  Go to page Previous 15 6 7 8 911 Next
Author Message
 Post subject: Re: Firmware mods
PostPosted: Mon Mar 26, 2007 5:38 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Rather /etc/crontab?


Top
   
 Post subject: Re: Firmware mods
PostPosted: Mon Mar 26, 2007 8:35 am 
Offline
Developer

Joined: Wed Oct 25, 2006 6:05 pm
Posts: 613
Location: Germany
[quote="andre":9c9c7]Rather /etc/crontab?[/quote:9c9c7]
yes, for the cron job.
But on an extracted stock fw /etc/hosts.deny reads
[quote:9c9c7]rsync rsfwds: ALL[/quote:9c9c7] ... might be a good idea to change that (or add your host to hosts.allow) for incoming connections.

_________________
acp_commander users note: from ver. 0.4 on the correct ACP authentication method is used, avoiding possible side effects.
Download: http://sourceforge.net/project/showfile ... _id=167037


Top
   
 Post subject: Re: Firmware mods
PostPosted: Thu Mar 29, 2007 9:01 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
i added some new stuff.

http://buffalo.nas-central.org/download/Uploads/LSPro/LS-GL_FW_103-jtymod5-29_3_2007.zip

this is a snapshot for devs like kaiten, georg, .....

it is working, but i forgot to add the stop scripts to the image for nfsd/ushare/...

thats why there is one severe bug inside. you cannot reboot or shutdown. this means you will have to wait after flashing until it says it is successfully finished, wait another minute and then reboot by pressing the power button long. next reboot everythings ok.

check /root/READMEs/ & /root/CHANGELOG!

i need some more help from Kaiten regarding starting/stoping the services (ushare/nfsd) via the webinterface...

it also would be nice to have a simple webinterface page with an textfield + a submit button as an interface to /etc/exports!

so Kaiten/Georg/other interested guys out there:

please test the image! with kaitens Webinterface mods i am sure it will really rock within a month!

<img src="http://buffalo.nas-central.org/download/Uploads/LSPro/IMAGES/freestation-jtymod/printer-page.JPG" alt="" style="width:150px" />

CHANGELOG:
29.3.2007

1) moved to FreeLink Kernel which has NFS-kernel-server + printing compiled in
now we are using the same kernel + initrd again.
2) added nfsutils + portmap + custom startscripts.

3) added /etc/init.d/custom_services
it gets called by /etc/init.d/rcS at the very end.
comment in or add some stuff if you want to start something automatically at boot.

4) moved from stock busybox 1.1.1 to 1.2.2
http://buffalo.nas-central.org/download/Uploads/LSPro/Binaries/busybox

5) added lprng + webinterface-mods
http://buffalo.nas-central.org/download/LSPro_ARM9/Packages/lprng-withweb_2.04.tgz

6) added /usr/local/bin/ctorrent
http://buffalo.nas-central.org/download/Uploads/LSPro/Binaries/ctorrent

7) added /usr/local/bin/rtorrent
http://buffalo.nas-central.org/download/Uploads/LSPro/Binaries/rtorrent-jtymod5.tar.gz

Cool added ushare compiled by Anduril. read the readme at /root/READMEs/README-ushare
http://buffalo.nas-central.org/download/Uploads/OldUploads/LS_Pro_temporary/Tarballs/ushare-arm.zip

9) added udhcp
http://buffalo.nas-central.org/download/LSPro_ARM9/Packages/udhcp.tgz

10) added /usr/bin/screen
http://buffalo.nas-central.org/download/Uploads/LSPro/Binaries/screen

11) added "alias ls='ls --color=auto'" nearly at end of /etc/profile

12) changed PS1 to a little more colorful bash-line.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
 Post subject: Re: Firmware mods
PostPosted: Thu Mar 29, 2007 10:34 pm 
Offline
Developer
User avatar

Joined: Sun Dec 31, 2006 10:40 am
Posts: 434
Location: Scotland
Installed, working though it now

_________________
LS-500GL - Diskless
LS-250GL - Armel, U-Boot NC Enabled
HS-DH320GL - Stock 1.11_1a
LS-H120LAN(PPC) - Dev (foonas)
LS-H120LAN(PPC) - Freelink - 2.6.23.8
LS-H250LAN(MIPS) - Dev (foonas-em, foonas)
LS-HS400DGL(PPC) - Freelink
Thecus N1200 - Ubuntu 8.10


Top
   
 Post subject: Re: Firmware mods
PostPosted: Thu Mar 29, 2007 11:14 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
one of the most important things for this "pre-openlink" is to get SYSVINIT working properly. i really have no time for this at the moment.

but i can easily create new images if i get the right instructions of course.
my tinkering time is only limited.

best would be to replace this /etc/init.d/rcS with SYSVINIT and to be able to start and stop more things via the services-webinterface-page.

i need to build myself another serial-cable...my last one went to vince.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
 Post subject: Re: Firmware mods
PostPosted: Thu Mar 29, 2007 11:19 pm 
Offline
Developer
User avatar

Joined: Sun Dec 31, 2006 10:40 am
Posts: 434
Location: Scotland
uShare bug..

/etc/init.d/ushare.sh (2 places)

Code:
DAEMON=/usr/bin/ushare 
#echo $USHARE_OPTIONS
/usr/bin/ushare $USHARE_OPTIONS


ushare binary is in /bin/

also from the console with the fixed paths:
Code:
root@LS-GL250[~]>/etc/init.d/ushare.sh 
/etc/init.d/ushare.sh: line 13: 250: command not found
/etc/init.d/ushare.sh: line 80: log_success_msg: command not found


But the UI does work..

Image

_________________
LS-500GL - Diskless
LS-250GL - Armel, U-Boot NC Enabled
HS-DH320GL - Stock 1.11_1a
LS-H120LAN(PPC) - Dev (foonas)
LS-H120LAN(PPC) - Freelink - 2.6.23.8
LS-H250LAN(MIPS) - Dev (foonas-em, foonas)
LS-HS400DGL(PPC) - Freelink
Thecus N1200 - Ubuntu 8.10


Last edited by Kaiten on Sat Apr 28, 2007 2:25 pm, edited 1 time in total.

Top
   
 Post subject: Re: Firmware mods
PostPosted: Thu Mar 29, 2007 11:26 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
ah i c.

well...i did not check the startscript at all.

i directly executed the binary. thats why i did not see it at all.

thx for looking at it.

and the services page looks better and better ;)

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
 Post subject: Re: Firmware mods
PostPosted: Thu Mar 29, 2007 11:38 pm 
Offline
Regular Member

Joined: Tue Dec 19, 2006 10:12 am
Posts: 129
Location: u.k
Not 100% got it right yet , but this makes it looks better.

Service name in box : Enable /disable in box : Red / Green status

eg all on one line :-




<!--maintenance_services-->
<div id="divMaintenance"><div class="information">

<script type="text/javascript" src="/cgi-bin/html/en/script/maintenance.js?param=2006818111"></script>

<div id="divMessage" style="display:none;"></div>
<!--BUF_ACTIVE_MAINTENANCE_MESSAGE-->

<div id="divServices">
<div id="divServicesTitle"><div class="set_headder">Services</div></div>
<div id="divServicesItem"></div>


<div id="divServicesTelnet"><div class="set_name30">Telnet daemon</div><div class="set30box_1">
<div id="divServicesTelnet"><div class="set_name30">
<!--BUF_ACTIVE_MAINTENANCE_SERVICES_TELNET-->
</div></div><div class="set30box_1">
<!--BUF_ACTIVE_MAINTENANCE_SERVICES_TELNET_STATUS-->
</div></div><div class="non"></div>

<div id="divServicesSSH"><div class="set_name30">SSH daemon</div><div class="set30box_1">
<div id="divServicesSSH"><div class="set_name30">
<!--BUF_ACTIVE_MAINTENANCE_SERVICES_SSH-->
</div></div><div class="set30box_1">
<!--BUF_ACTIVE_MAINTENANCE_SERVICES_SSH_STATUS-->
</div></div><div class="non"></div>

<div id="divServicesKiss"><div class="set_name30">KiSS DP500Serv daemon</div><div class="set30box_1">
<div id="divServicesKiss"><div class="set_name30">
<!--BUF_ACTIVE_MAINTENANCE_SERVICES_KISS-->
</div></div><div class="set30box_1">
<!--BUF_ACTIVE_MAINTENANCE_SERVICES_KISS_STATUS-->
</div></div><div class="non"></div>

<div id="divServicesServices1Status"><div class="set_name30">SERVICE1 state</div><div class="set30box_1">
<div id="divServicesServices1Status"><div class="set_name30">
<!--BUF_ACTIVE_MAINTENANCE_SERVICES_SERVICE1-->
</div></div><div class="set30box_1">
<!--BUF_ACTIVE_MAINTENANCE_SERVICES_SERVICE1_STATUS-->
</div></div><div class="non"></div>

<div id="divServicesServices2Status"><div class="set_name30">SERVICE2 state</div><div class="set30box_1">
<div id="divServicesServices2Status"><div class="set_name30">
<!--BUF_ACTIVE_MAINTENANCE_SERVICES_SERVICE2-->
</div></div><div class="set30box_1">
<!--BUF_ACTIVE_MAINTENANCE_SERVICES_SERVICE2_STATUS-->
</div></div><div class="non"></div>


</div><!--divServicesItem-->
</div><!--divServices-->

</div></div></div></div>



<div id="divServicesSubmit">
<div id="divServicesSubmitItem">
<span id="spServicesSubmitButton"><input type="button" id="btnServicesSubmit" name="btnServicesSubmit" value="&nbsp;Apply&nbsp;" onClick="fServicesSubmit('submit');" /></span>&nbsp;&nbsp;
</div>
</div>

</div><!--divInformation-->
</div><!--divMaintenance-->


Top
   
 Post subject: Re: Firmware mods
PostPosted: Thu Mar 29, 2007 11:48 pm 
Offline
Developer
User avatar

Joined: Sun Dec 31, 2006 10:40 am
Posts: 434
Location: Scotland
I was about to post the same thing as more are added the status will drop off the bottom of the page. Good though peter

_________________
LS-500GL - Diskless
LS-250GL - Armel, U-Boot NC Enabled
HS-DH320GL - Stock 1.11_1a
LS-H120LAN(PPC) - Dev (foonas)
LS-H120LAN(PPC) - Freelink - 2.6.23.8
LS-H250LAN(MIPS) - Dev (foonas-em, foonas)
LS-HS400DGL(PPC) - Freelink
Thecus N1200 - Ubuntu 8.10


Top
   
 Post subject: Re: Firmware mods
PostPosted: Fri Mar 30, 2007 12:33 am 
Offline
Regular Member

Joined: Tue Dec 19, 2006 10:12 am
Posts: 129
Location: u.k
The other problem I found from yesterday playing with the service tab ,was "If it`s running don`t run it again"

eg if you want to enable Telnet it would start the other services .( ssh , ctcs ) which was already running.


Top
   
 Post subject: Re: Firmware mods
PostPosted: Fri Mar 30, 2007 8:31 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
[b:fbf14]peter a[/b:fbf14]
maybe you could look if it is possible to integrate ctcs somehow into the webinterface?

or is this impossible? if it is impossible then we should at least try to add a link from it to its webinterface.

EDIT: i know i forgot to add ctcs this time. but i suppose you try to get it running.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
 Post subject: Re: Firmware mods
PostPosted: Fri Mar 30, 2007 12:48 pm 
Offline
Regular Member

Joined: Tue Dec 19, 2006 10:12 am
Posts: 129
Location: u.k
I think it's possible to do it ... The problem is: - has anyone got the skill or time to do it.

Now I know what Perl can do I'm trying to learn, but looking at the scripts I don't know where to start.

What I was doing was making a virtual site on apache where I could play without missing up any system scripts.


Top
   
 Post subject: Re: Firmware mods
PostPosted: Fri Mar 30, 2007 12:56 pm 
Offline
Developer
User avatar

Joined: Sun Dec 31, 2006 10:40 am
Posts: 434
Location: Scotland
It's probably best to add another section to the UI now. Extras/Addons, More things being added will just cramp the existing pages, also it should make for easier changes in the future.

_________________
LS-500GL - Diskless
LS-250GL - Armel, U-Boot NC Enabled
HS-DH320GL - Stock 1.11_1a
LS-H120LAN(PPC) - Dev (foonas)
LS-H120LAN(PPC) - Freelink - 2.6.23.8
LS-H250LAN(MIPS) - Dev (foonas-em, foonas)
LS-HS400DGL(PPC) - Freelink
Thecus N1200 - Ubuntu 8.10


Top
   
 Post subject: Re: Firmware mods
PostPosted: Fri Mar 30, 2007 1:04 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
[quote="Kaiten":fc18a]It's probably best to add another section to the UI now. Extras/Addons, More things being added will just cramp the existing pages, also it should make for easier changes in the future.[/quote:fc18a]
what about a new section called "Addons" to the main sections...like "Home" , "Basic" and so on....and then move the "Services" section as a subsection there. so we have a complete section/subsections for our custom stuff.

the ddclient-dyndns-stuff (for example) and many other things would fit good there. and it would be easier to access this menus.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
 Post subject: Re: Firmware mods
PostPosted: Fri Mar 30, 2007 1:42 pm 
Offline
Developer
User avatar

Joined: Sun Dec 31, 2006 10:40 am
Posts: 434
Location: Scotland
ok easy enough.

_________________
LS-500GL - Diskless
LS-250GL - Armel, U-Boot NC Enabled
HS-DH320GL - Stock 1.11_1a
LS-H120LAN(PPC) - Dev (foonas)
LS-H120LAN(PPC) - Freelink - 2.6.23.8
LS-H250LAN(MIPS) - Dev (foonas-em, foonas)
LS-HS400DGL(PPC) - Freelink
Thecus N1200 - Ubuntu 8.10


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 152 posts ]  Go to page Previous 15 6 7 8 911 Next

All times are UTC+01:00


Who is online

Users browsing this forum: Bing [Bot] and 6 guests


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 post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited