Debian Configuration :: Complex Network Setup - RPI To Automatically Route Internet
Jan 26, 2016
I would like to update my network setup.
Today, I have an ADSL box which is my gateway to internet (192.168.0.1).
I have a Raspberry pi (RPI) which I use as a dhcp & dns server (192.168.0.2).
Recently my mobile phone operator installed a 4G antenna beside my home, and the bandwidth and latency are much better with my mobile phone than with my internet provider (ADSL).
I would like to install a wifi dongle on my RPI (I would get wlan0 & eth0 interfaces)
When RPI detect my shared phone connection (tethering) I would like RPI to automatically route internet:
- from authorized devices on my network to my mobile connexion (wlan0 -> mobile phone).
- from other devices to the standard ADSL internet (eth0 -> ADSL box).
I don't want any device to use the shared 4G connexion, best would be authorized devices to be selected by MAC address. How I should properly setup such a network ?
View 2 Replies
ADVERTISEMENT
Apr 7, 2010
I installed and tested both Windows server 2003 and Red Hat 9.0 with vmware workstation7. After installing 2003 can access internet but Red Hat can't. I want to test squid proxy server, send mail server, webserver etc. So, I would like to know how to setup WMware's network configuration for Red hat can access internet.
Below link is the configuration of VMware network setup both Server 2003 and Red Hat.
Here is Red Hat Configuration:
http://i64.servimg.com/u/f64/11/74/16/17/linux10.jpg
Here is Windows Server 2003 configuration:
[url]
I am using wireless connection to access internet.
View 1 Replies
View Related
Dec 9, 2010
I'm running squeeze testing. I have noticed an issue with the way NetworkManager acts when the wireless connection is dropped. I believe it should automatically reconnect but it immediately puts up a dialog requesting me to enter the wifi password. This dialog stays indefinitely until I intervene and click "OK" (the password from the previous successful connection is still there). I would think that something as basic as wireless networking should not require 24 hour human interaction to stay connected. I have considered a cron job checking the network status and restarting it if necessary, but there is a configuration change or something else I can do to resolve this.
View 3 Replies
View Related
Aug 22, 2010
I've currently got a Xen box with 3 Virtual machines on it, in a routed setup. I'd like to put them all on a private internal network as well, which I'm assuming I'd do with a dummy network card and a xen bridge, but I can't find any information about setting up the xen Bridging setup on top of the existing network-route instlal.
View 1 Replies
View Related
Feb 13, 2010
I am new to Debian. I am trying out the live cd but can't seem to find how to connect to the internet. My setup is Ethernet card and DSL modem, no routers, no wireless. How do I set this up?
View 5 Replies
View Related
Sep 14, 2010
I've illustrated it on this picture, and hope to get the help i need to set it up... [URL]Thow it has to be furture secured, in that meaning it has to be abel to attach a eth2 on the main server, so i have 3 NIC's.Also, i want to have fully controll over ports, IP/MAC's and data overview (Such as a view of the files beeing downloadet/uploadet).
View 3 Replies
View Related
Mar 26, 2009
So I have two network Interfaces
eth0 - NAT behind a router
eth1 - Public IP
When ever I restart the machine, both interfaces pull a IP, but the it randomly chooses eth0 or eth1 to have the gateway. I want the gateway to be eth0 always.
[Code]...
Is there some file or setting I can modify in Fedora10 that will always choose 192.168.1.1 on eth0 as the default gateway?
View 2 Replies
View Related
Mar 4, 2011
I'm trying to set up a bind9 server for my home network, I have all my IPs set to 10.0.0.X. I would like the forward and reverse to be simply "machinename", not "machinename.domain.com", as I don't want to type a domain everytime.
In my named.conf
zone "net.local" in {
type master;
file "/etc/bind/net.local.ns";
allow-update { none; };
[Code]...
View 1 Replies
View Related
May 30, 2010
I'm trying to setup a NFS4 server (no security, local home network behind FW). It seems that I'm missing something because 'rpcinfo -p' does not list v4 for NFS: petit-pois:/home/eric# rpcinfo -p
[Code]...
View 3 Replies
View Related
May 16, 2011
I just installed, and evolution doesn't seem to think it has internet. The icon with the power cord in the bottom left is unplugged, and send/receive is greyed out. Internet is working , but it is not using network manager, since network manager says no internet is connected. Maybe this has something to do with it?
View 1 Replies
View Related
Aug 20, 2010
I was wondering if you could help me find a good documentation about expect, I have searched all the web but with no luck. I need to build a complex script that I need at work to automatically connect to 50 pc`s (with linux based os) and execute 10 or more script with the output into a text file and the email the file to my email address.
View 3 Replies
View Related
Jan 26, 2010
My network looks like the following:
WAN (cable)
|
|
[code]...
View 6 Replies
View Related
Mar 28, 2016
I am in serious situation involving PPTP protocol VPN in Debian 8 Jessie stable. I recently became a paid VPN subscriber. Using PPTP; Is there a way to automatically route all traffic through ppp0? Im getting the vpn service killed (ip address goes back to normal unmasked state) whenever there is a power outage (modem reset) and there are alot of those where I live, Im going to get astabilizer and I need a software solution for the situation as well. Theres gotta be a way to route all traffic through the VPN route ppp0 . I tried adding persist and maxfail 0 to the pptp config file but it did not do what i wanted.
Here's my peer configuration file :
pty "pptp blabla.net --nolaunchpppd"
name blablabla
password blablabla
remotename PPTP
file /etc/ppp/options.pptp
require-mppe-128
refuse-eap noauth
persist
maxfail 0
On a second note, its clear to add that I basically need a way to also auto load the line
pppd call blabla.net
and
route add default dev ppp0
On system startup by default so the computer does not use "Wired" connection ^at all^ when not through ppp0. Any other way of not losing VPN anonymity ever due to hardware malfunction.
Is there a way to do this? Ive looked on the net and everything seems like its either from the nineties or can fry my pc , Im no debian expert, less than a year at linux..
Need it to use wired only if ppp0 is being used so if its no vpn, no connection at all period,
View 1 Replies
View Related
Aug 3, 2011
I have a PC104 running debian. I have 3 hard drives (in addition to the one booting) mounted in fstab by UUID. I use the options defaults,error=remount-ro. However, this means that when I boot with the hard drives not attached, I have to press Ctrl-D to bypass when the boot discovers the drives are missing. Is there a timeout commandoption I can add to fstab so that it automatically continues booting even if the hard drives are not attached? I could not find anything on a timeout command. (I tried adding timeout=1000 but no-random guess)
View 5 Replies
View Related
May 25, 2010
Cannot activate network device eth0!"device eth0 does not seem to be present, delaying initialization".i cannot find my network card while i set up network configuration Now I use dual boot window 7 and fedora 9,I cannot find my network card in select network adapter while network configuration ,i have a network card Atheros AR8132 PCI-E fast Ethernet controller NDIS(620)and for wired in Accer laptop .
View 1 Replies
View Related
Apr 15, 2011
1 linksys router: gets the net from PPPOE and give the network DHCP. The router IP is 192.168.1.1. 1 windows laptop that work wireless and wired. 1 debian desktop that work wired and not working wireless. THe problem with the debian desktop is like this: I have a TP-Link TL-WN321G installed and found by lsusb command. I make a wireless connection WPA Personal (just like the router settings) it says i am connected to the wl network but no internet connection. the route command give me this:
[code]....
I tryed with wicd who said that the connection is WEP (and it's not, it is setup to WPA on the router and the network-manager conncetion) and when i try to connect i get bad password. I tryed with network-manager uninstalled and no chance.
View 4 Replies
View Related
Apr 12, 2011
Yesterday I installed a RaLink RT2800 802.11n PCI on my squeeze system. Now I have a connection to Internet but I can not connect other systems in my home network. An ssh-try to a system in my home network results in: ssh: connect to host xxx.xxx.xxx.xxx port 22: No route to host If I use my eth0, I do not have connection to Internet, but I can connect other systems in my home network.
View 7 Replies
View Related
Sep 7, 2011
Allright peeps does debian updrade automatically or one has to go about it by self and is it recommended to upgrade or just to go about re installing with a new dvd?
View 1 Replies
View Related
Mar 5, 2011
Other than my encrypted home directory, I am all set to switch from ubuntu to Debian.Is it sufficient to install ecryptfs-utils or do I need to setup a script or something similar for it to automatically decrypt my home directory on login?
View 4 Replies
View Related
Mar 5, 2010
I have configured a VPN connection to a remote router which connects ok. I can ping the remote router IP, but cannot ping any other IP on their network.I have put this down to needing a route added. I can manually type # route add -net 192.168.1.0 netmask 255.255. 255.0 dev ppp0 and all works like I want it to, but I really need this to be automatic everytime the connection starts.I have tried following URL... but cant get it to work. The file is called /etc/ppp/ip-up.d/routing and has execution priviledges (755) so ive hit a dead end.
View 3 Replies
View Related
Sep 21, 2015
I have PCI-device and driver for it - tmk1553b.ko
The problem is to make this device work i have to open terminal after system starts and write
Code: Select allcd /path/to/driver
sudo insmod ./tmk1553b.ko d0=1 t0="TAI" misc=1
But idea is that this PC will work without operator so driver must be loaded automatically. As i realized the solution is to make script but when i try google it shows me how and where to put this script but not how to make it. Also i've tried to put tmk1553b.ko to /lib/modules/2.6.32-5-686/kernel/drivers/misc but it doesn't work.
Debian 6.0.10 (squeeze)
Kernel 2.6.32-5-686
View 5 Replies
View Related
Jun 23, 2010
I recently took a WIRED internet connection (from the people who provide cable TV) and switched from ubuntu to openSUSE11.2. . I am not able to set up an internet connection in openSUSE 11.2. I have been given a static IP, and the following info
subnet mask
gateway
dns server
alternate dns server
how do i setup an internet connection with these in openSUSE 11.2.
View 6 Replies
View Related
Nov 30, 2015
I am using Debian 8 with systemd. I noticed that eth0 it is not starting automatically.
During boot process, I see this message: a start job is running for LSB: Raise network interface
View 5 Replies
View Related
Oct 30, 2010
My wireless in fresh Squeeze install would not connect automatically. I have to click on the network manager and enter the root password to connect every time I start up. I have "Enable Networking" and "Enable Wireless" checked in the Network Manager.
System>Preferences>StartupApplications>NetworkManager --- checked
NetworkManager>NetworkConnections>Wireless>[mywifinetwork]Edit>AutomaticallyConnect --- checked
There are only 2 lines now in /etc/network/interfacesauto loiface lo inet loopbackWhat should I do to get the NM to look for and connect wireless automatically at start up
View 13 Replies
View Related
May 19, 2011
I have squeeze and I've created my own custum kernel. Howto configure grub 2 to boot with this custom kernel automaticaly?
View 5 Replies
View Related
Jul 15, 2010
Is there a good way to set up internet tracking on an openSUSE 11.3 computer? I don't want users visiting porn sites or any other nonsense, and if they do, I want to know about it. Is there a good program that the administrator can set up to report this kind of thing or at least track it? Obviously, this would need to track all websites visited regardless of the application/browser used, and would need to be completely inaccessible to users. I don't want them having the ability to turn it off or circumvent it somehow.
View 8 Replies
View Related
Aug 27, 2010
There is 2 networks that I would like to be part of
a) Through my wlan0 --> Internet DSL
and
b) Through my eth0 --> WUG - PTAWUG
I can only get one of the networks to work at 'n time. The wlan0 works fine when I start my PC, but when I want to access the WUG I need to do the following command:
Code:
sudo route add -net 172.16.0.0 netmask 255.240.0.0 gw 172.24.6.177 dev eth0
with the above command, I can then access the WUG but not the internet through my wlan anymore.all data goes to my wlan as standard unless its on the 172.16.0.0 network
View 5 Replies
View Related
Mar 6, 2010
I use Fedora 12 and I use Mobile Boradband to connect to the Internet on my laptop. I want to setup a wireless network using my laptop so that my roommate who uses Vista, can surf internet on his laptop. How can I do it?
View 1 Replies
View Related
Nov 21, 2008
I have a fresh install of ubuntu. I am trying to load some new packages but I think I need internet connection. The issue is I cannot connect to the internet I think I need to setup a network package so I can connect to the internet? This is the first time I have used linux.
View 3 Replies
View Related
May 9, 2011
I've installed Debian squeeze using the net installer and while beginning the installation I loaded the 'ppp-udeb' module to connect to the internet for accessing the Debian mirrors during the installation. Now, whenever I boot into Debian, internet connection kicks in automatically. I would want to have control over when to start the internet connection. I don't want it to be triggered during my login.
View 2 Replies
View Related