Hey
I need to set up a PPPoE server for sharing my internet connection, here are the requirements that i need to fulfill
I currently have a single DSL line from TATA with which I use two DSL accounts,
one is normal 384Kbps and other is the 2mbps night unlimited account
during the day, i use my day account CN1 and at night i disconnect this and use CN2.
I have to make this change manually every day at 9AM and 9PM respectively or else i get billed for daytime usage of the same.
now as you can imagine its quite difficult to do the same each day :P
so what my requirement is that i set up internet sharing with scheduling so that it does the same automatically at the designated time
the server will be run on Intel Atom with 1GB of RAM and 320GB hdd space.
It has 2 LAN ports, one is connected to the DSL modem and the other to a wifi router that is bridged with another wifi router to extend range as well as provide internet connection to another PC which is connected to the other wifi router via cable
a SIP phone is also connected from the main wifi router via cat5 cable and my main pc connects to the main router as well
what i want the router pc to do is
Provide internet connection to the network
switch between the DSL accounts as per schedule
serve as a download pc
serve as a network storage
serve as an FTP server
serve as a media server
serve as proxy server
and all the rest of the stuff that you expect and ideally do the same with DHCP so that i dont have to give manual IPs to all the devices connected and will be connected in the future
I tried doing the same while installing windows 7, but its just too painful and not versatile enough for my use
also my PC runs windows xp as well as windows 7, while the other system runs windows 7, so all the files should be inter accessible, so file system format needs to offer the same
I have ZERO experience with Linux so if you are suggesting linux, then please do pass me to some wiki so that i can get some basic idea, ive already downloaded ubuntu 9.10server although dunno how to install it hence didnt :P
so help me out, open for windows/osx/linux options for the same
Need help setting a PPPoE & File sharing server [Linux/Windows]
Started by Rave, Nov 22 2009 01:54 PM
10 replies to this topic
#1
Posted 22 November 2009 - 01:54 PM
#2
Posted 22 November 2009 - 03:32 PM
Here are the commands you need to schedule to connect/disconnect CN1 and CN2 in task scheduler
rasdial CN1 "username" "password"
rasdial CN1 /DISCONNECT
rasdial CN2 "username" "password"
rasdial CN2 /DISCONNECT
You need to assign a fixed IP to LAN card which is connected to DSL and then create a bridge connection between two ethernet cards on your main PC
For FTP access, you can install any 3rd party free FTP server or install FTP addon by MS itself. For other usages like proxy, media server etc ... let other members suggest
For DHCP, enable DHCP server in your main router that's all
rasdial CN1 "username" "password"
rasdial CN1 /DISCONNECT
rasdial CN2 "username" "password"
rasdial CN2 /DISCONNECT
You need to assign a fixed IP to LAN card which is connected to DSL and then create a bridge connection between two ethernet cards on your main PC
For FTP access, you can install any 3rd party free FTP server or install FTP addon by MS itself. For other usages like proxy, media server etc ... let other members suggest
For DHCP, enable DHCP server in your main router that's all
#3
Posted 22 November 2009 - 03:43 PM
Well any linux based distro is suited for this purpose but you may find it hard to fiddle with command line as you have no prior experience with linux based oses.
Hence, I would recommend to use: FreeNAS: The Free NAS Server - Home. it comes with a web based GUI, just like your routers configuration interface.it would easy to use even for you. if you don't trust me then see this screenshots gallery --> http://www.freenas.o...apper&Itemid=78
It has everything you need, so stop thinking and start doing:P
Let me know if you need any help in setting it up, I would glad to help out
Hence, I would recommend to use: FreeNAS: The Free NAS Server - Home. it comes with a web based GUI, just like your routers configuration interface.it would easy to use even for you. if you don't trust me then see this screenshots gallery --> http://www.freenas.o...apper&Itemid=78
It has everything you need, so stop thinking and start doing:P
Let me know if you need any help in setting it up, I would glad to help out
#4
Posted 22 November 2009 - 04:06 PM
Actually as of now am installing ubuntu, problem with windows is that ive tried bridging connection but the DHCP would not work so id have to configure the network settings of each device separately, also only one connection can be enabled for internet connection sharing, so if i set up CN1 for ICS then it work, but once CN2 gets enabled, the client pcs can no longer access the internet
maybe its about time i start and learn something about linux although if someone has any windows info then do let me know,
@ Gaurish
setting up NAS is later, first i need to get the internet and internet server set otherwise not much point hehe
maybe its about time i start and learn something about linux although if someone has any windows info then do let me know,
@ Gaurish
setting up NAS is later, first i need to get the internet and internet server set otherwise not much point hehe
#5
Posted 22 November 2009 - 05:07 PM
Rave said:
Actually as of now am installing ubuntu, problem with windows is that ive tried bridging connection but the DHCP would not work so id have to configure the network settings of each device separately, also only one connection can be enabled for internet connection sharing, so if i set up CN1 for ICS then it work, but once CN2 gets enabled, the client pcs can no longer access the internet
maybe its about time i start and learn something about linux although if someone has any windows info then do let me know,
maybe its about time i start and learn something about linux although if someone has any windows info then do let me know,
Good Idea!
Multiple LAN interfaces can be configured easily in Linux(eth0,eth1...so on). to setup pppoe in ubuntu, use pppoeconf. automatic switchover is possible by cron.
squid can be used for proxying your Internet connection to other hosts in the network.
Quote
@ Gaurish
setting up NAS is later, first i need to get the internet and internet server set otherwise not much point hehe
setting up NAS is later, first i need to get the internet and internet server set otherwise not much point hehe
#6
Posted 22 November 2009 - 07:04 PM
OK, Ubuntu installed, now can someone guide me on setting up multiple pppoe connections and creating a batch file of the switching? oh and also the server part please?
everything needs to be done via command line only or theres a GUI option available for the same?
everything needs to be done via command line only or theres a GUI option available for the same?
#7
Posted 22 November 2009 - 08:14 PM
Hi,
for multiple connections, use two files
Setting up your ADSL connection in PPPoE mode:
https://help.ubuntu....unity/ADSLPPPoE
-------------------------------
for scheduling use cron - its linux's inbuilt scheduler. just enter the command you want to execute and when, rest will be done automatically.
more info here:
https://help.ubuntu....unity/CronHowto
---------------------------------
Lastly you can find the Server docs here:
https://help.ubuntu....de/C/index.html
for multiple connections, use two files
pon CN1^^Turn on CN1
pon CN2^^Turns On CN!
poff^^to turn off the active connection.
Setting up your ADSL connection in PPPoE mode:
https://help.ubuntu....unity/ADSLPPPoE
-------------------------------
for scheduling use cron - its linux's inbuilt scheduler. just enter the command you want to execute and when, rest will be done automatically.
more info here:
https://help.ubuntu....unity/CronHowto
---------------------------------
Lastly you can find the Server docs here:
https://help.ubuntu....de/C/index.html
#8
Posted 23 November 2009 - 07:05 AM
Rave said:
a SIP phone is also connected from the main wifi router via cat5 cable and my main pc connects to the main router as well
I see that you are getting help with your requirement from Gaurish and hence won't meddle in. Having said that, I am bit curious about the sip phone hardware that you have. Can you please shed more light on it or possible a link?
TIA.
+LT
#9
Posted 23 November 2009 - 08:07 AM
Actually, i do need a bit of help creating the different configurations of pppoe files
am reinstalling ubunu 9.10 desktop as i type this time with proper partitions, so please do feel free to pour in ur suggestions
as for the SIP phone, am using Grandstream budgetone 200
Grandstream - Innovative IP Telephony
am reinstalling ubunu 9.10 desktop as i type this time with proper partitions, so please do feel free to pour in ur suggestions
as for the SIP phone, am using Grandstream budgetone 200
Grandstream - Innovative IP Telephony
#10
Posted 23 November 2009 - 01:51 PM
wah this is driving me nuts, whenever i enter the ip address to the nic from network settings, the nic disappears from the list, where do i access it from afterward?
#11
Posted 23 November 2009 - 06:17 PM
Rave said:
wah this is driving me nuts, whenever i enter the ip address to the nic from network settings, the nic disappears from the list, where do i access it from afterward?
btw, which network card you have? if you don't know then use "lspci" to find it.
This might also help, as its in Indian Context:
Broadband Howto - Ubuntu India
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
Sign In
Create Account
Back to top









