Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 01:20
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Recycled BT Homehub2
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
gary101


Joined: 08 Oct 2006
Posts: 539
Location: Boston, Lincs. UK

PostPosted: Sun 04 Nov 2012, 06:23    Post subject:  Recycled BT Homehub2
Subject description: A free NAS server
 

Hi
Just thought I would share a little victory. Very Happy

I got a couple of humehub2 routers free from my local freecyle and have been pondering what to do with them. They have a USB port on the back so I thought I would look into the possibility of using one as a NAS server as they can be expensive.

First steps were to set the Homehub up as a wireless access point. To do this I first set the router back to factory reset and then plugged it straight into my computer via ethernet. In a browser I went to the inteface by using http://bthomehub.home Changed the password (the default password is printed on the back of the router) and went in to the Hub Manager. The steps to set up as a wireless AP are then:

Go to Settings/Advanced Settings/Application Sharing/Firewall select Disable then Apply.
Then go to Home Network/IP Addresses/DHCP Server in the Enabled section select No then Apply.

In Hub IP Address type in a suitable IP, the edimax router I am connecting this to starts at 192.168.1.1 and has an IP pool of 254 so I chose 192.168.1.175 for my homehub. Select Apply.

You can, if you wish, change the SSID of the router if you want to use it for your wireless network by going to Wireless/Configuration.

Unplug the ethernet from your computer and plug it in to your usual router. Pop in a USB drive to the port on the back of the Homehub and you have yourself a wireless NAS.

I used PNethood to connect the first time which creates a mount in mnt/network/BTHOMEHUB/USB1. I soon tired of this and concocted a tiny script to connect and open the directory in Rox and also and unmount script (See below)

I hope this will help someone else and save a few of the much maligned BT Homehubs from landfill.

Gaz
Code:

##NASmount script
#!/bin/sh
mount-FULL -t cifs //192.168.1.175/BTHOMEHUB/USB1 //mnt/network/BTHOMEHUB/USB1 -o user=admin,password=PasswordHere
exec rox //mnt/network/BTHOMEHUB/USB1

Code:

##NASunmount script
#!/bin/sh
umount //mnt/network/BTHOMEHUB/USB1
exec rox -D /mnt/network/BTHOMEHUB/USB1

_________________
If it's not one thing it's your mother
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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 can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0403s ][ Queries: 12 (0.0038s) ][ GZIP on ]