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 30 Jun 2015, 16:05
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Frubee: program for Internet connection
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
tone

Joined: 25 Jul 2010
Posts: 19

PostPosted: Fri 12 Jun 2015, 08:21    Post_subject:  Frubee: program for Internet connection
Sub_title: Via router: without the use of DHCP server, DHCP client. Via USB modem sticks: with pppd.
 

I designed and developed a program that connects the client to the router and assign IP address dynamically (to the client on which it's executed), without the use of the DHCP (no DHCP client, no DHCP server).
The program (via pppd) also allows connection to the Internet with USB modem sticks or mobile phone plug to the PC with USB (not tested with smartphones).
This is the URL:
https://github.com/tone77/frubee

I wrote the instructions to try it on Precise Puppy 5.7.1 (kernel 3.9.11).
If you don't want build Frubee, to install it run frubee-0.0.1.pet.
For build Frubee you must install "devx_precise_5.7.1.sfs"
(http://distro.ibiblio.org/quirky/precise-5.7.1/devx_precise_5.7.1.sfs)
and run from shell the script "install.sh".

Once installed, run from shell:
Code:

frubee "0" "0" 0

and follow the onscreen instructions.

Light test
You can try Frubee even if the PC has already an IP address and it's connected to the router via DHCP.
Run Frubee.
To restore the original configuration restart PC (PC could have another IP address).

Full test
To avoid the risk of no longer be able to connect, before running the full test, it's advisable to check if Frubee connects to Internet with the mode aforementioned, that is not by manually editing the original configuration.
For details read below.
1. Disable DHCP server in the router
2. Disable DHCP client in Precise Puppy 5.7.1: run "mv /usr/sbin/dhcpcd /usr/sbin/dhcpcd_"
3. Restart PC
4. Run Frubee
5. Re-enable DHCP server in the router
6. Re-enable DHCP client in Precise Puppy 5.7.1: run "mv /usr/sbin/dhcpcd_ /usr/sbin/dhcpcd"
7. Restart PC

The package:
frubee-0.0.1.pet
Description 
pet

 Download 
Filename  frubee-0.0.1.pet 
Filesize  23.44 KB 
Downloaded  29 Time(s) 
Back to top
View user's profile Send_private_message 
tone

Joined: 25 Jul 2010
Posts: 19

PostPosted: Wed 17 Jun 2015, 03:44    Post_subject:  

Directions for use during the operating system boot.
1. Disable DHCP server in the router
2. Disable DHCP client in Precise Puppy 5.7.1: run "mv /usr/sbin/dhcpcd /usr/sbin/dhcpcd_"
3. In the file "/etc/rc.d/rc.local" insert:
Code:

   frubee "0" "0" 1 > /dev/console

or
If you want to connect automatically, pass the correct "Nation" and "Operator":
Code:

   frubee "Nation" "Operator" 1 > /dev/console

To assign a value to the parameters "Nation" and "Operator" read https://github.com/tone77/frubee/blob/master/README-from-ver-0.0.1.
In this URL you can also read the directions to add a mobile phone operator, a router or custom router of an ISP.
4. Restart PC

If frubee doesn't connects to Internet, read the file "/tmp/NOCONNECT.err" to see the error.

Restore the original configuration
1. Comment in the file "/etc/rc.d/rc.local" the command for run frubee
2. Re-enable DHCP server in the router
3. Re-enable DHCP client in Precise Puppy 5.7.1: run "mv /usr/sbin/dhcpcd_ /usr/sbin/dhcpcd"
4. Restart PC

Edited_times_total
Back to top
View user's profile Send_private_message 
tone

Joined: 25 Jul 2010
Posts: 19

PostPosted: Sat 20 Jun 2015, 03:43    Post_subject:  

I released version 0.2.1 of Frubee

For details read:
https://github.com/tone77/frubee/commit/6a11039dba618df9d88a6a308677023d6f6d991c
https://github.com/tone77/frubee/commit/2d437a68d565f5d507a25884990a824a3a8fec6a
https://github.com/tone77/frubee/commit/c9e97a6ea8177912f027128d31be85fc7d646b12

pet for Precise Puppy 5.7.1
frubee-0.2.1-precise571.pet
Description 
pet

 Download 
Filename  frubee-0.2.1-precise571.pet 
Filesize  23.53 KB 
Downloaded  10 Time(s) 
Back to top
View user's profile Send_private_message 
tone

Joined: 25 Jul 2010
Posts: 19

PostPosted: Thu 25 Jun 2015, 04:07    Post_subject:  

I released version 0.3.0 of Frubee

Has been added the possibility to set the range of the IP addresses to be assigned with Frubee.
The change allows to reserve some IP addresses to be assigned exclusively to Frubee that in this way can coexist peacefully with DHCP on the same router.

Examples
Router 192.168.1.1
DHCP - Start IP address 192.168.1.2
DHCP - End IP address 192.168.1.199
Frubee - Start IP address 192.168.1.200
Frubee - End IP address 192.168.1.254
Code:
frubee "0" "0" 200 254 0

or
Router 192.168.1.1
Frubee - Start IP address 192.168.1.2
Frubee - End IP address 192.168.1.49
DHCP - Start IP address 192.168.1.50
DHCP - End IP address 192.168.1.254
Code:
frubee "0" "0" 2 49 0


For details and changes made in the source code, read https://github.com/tone77/frubee/commit/d7fa3fb0a5fefbe7e139526e4a003a3f36b8f926

pet for Precise Puppy 5.7.1
frubee-0.3.0-precise571.pet
Description 
pet

 Download 
Filename  frubee-0.3.0-precise571.pet 
Filesize  23.89 KB 
Downloaded  3 Time(s) 
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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