Debian Configuration :: Setting Up A VPN & DHCP Server - Connect And Share The Internet
Aug 24, 2010
I have a home Debian server running, and i would like to set it up as a gateway. I have 2 networkcards in it. So internet comes from the modem and on the other card i want to setup a dhcp server and it has to share the internet. But i want it also to connect to a vpn and share the internet of the vpn.. Is that possible?
View 4 Replies
ADVERTISEMENT
Jul 27, 2015
I need to shear internet i use isc-dhcp-serve and it work but internet doesn't work i have triad so many commends but still networking ... My setting is eth0 - wan eth1 -local
iface eth1 inet static
address 192.168.42.6
netmask 255.255.255.0
dhcp
authoritative;
subnet 192.168.42.0 netmask 255.255.255.0 {
range 192.168.42.10 192.168.42.50;
option broadcast-address 192.168.42.255;
option routers 192.168.42.1;
default-lease-time 600;
max-lease-time 7200;
option domain-name "local";
option domain-name-servers 8.8.8.8, 8.8.4.4;
}
View 0 Replies
View Related
Apr 8, 2010
I have a home network, with an OpenWrt router operating successfully as DHCP server (using DNSMasq). I'm planning to install LinuxMCE on my main fileserver and in order for this to properly detect devices around the home it requires that it is the DHCP server. That would be fine except that I sometimes power down the fileserver (eg. when my in-laws sleep in the spare room where the server lives) and that would leave me with no DHCP which creates problems (when my in-laws want to get their laptop connected to the internet).
One answer is to get new in-laws which would be OK except that I'm still pretty keen on my wife. Alternatively is there any way to set up a fallback DHCP server ie. the router would check if there's a functioning DHCP server on the network (ie. the fileserver) and if it gets no response it will serve DHCP addresses itself.
View 2 Replies
View Related
Sep 15, 2015
Recently after updating my Debian Jessie, I can no longer access windows shares. I can access those shares from windows PC. And to be able from debian.
After I enter my password of windows share, the password dialog box pops up again. No warning, no errors. It just pops up. I cannot connect to any windows share.
View 0 Replies
View Related
Dec 4, 2015
I try to connect my Debian Jessie to my Windows share
This is what I have done:
-> 1 - create an .smbcredentials file located in my /home directory (with account / password and domain)
-> 2 - implement /etc/fstab with information like that :
//192.168.x.x/Animes/media/Animes cifs uid=toto,dir_mode=0777,file_mode=0777,credentials=/home/.smbcredentials,iocharset=utf800
and when I try to go on my windows share, I have this message:
An error occurred while accessing 'Home', the system responded: mount: only root can mount //192.168.x.x/Audio-Video-01 on /media/Audio-Video-01
I think about one thing, if uid=toto is different in fstab than my current debian account session name, it is possible the problem came because of that?
(fstab, uid=toto and current session titi)
View 3 Replies
View Related
Nov 29, 2010
I've been using Debian Squeeze for a few years now, no troubles connecting to a DHCP server in PPOE session... (DSL service) until this morning (11.29.10) when now I do (that is to say; browser, email prog., terminal, real player, etc., just won't connect). I can do dual boot, & so am in Windows XP at the moment.
View 12 Replies
View Related
Jan 17, 2016
Setup a DNS/DHCP/Directory server on Debian? I would like to configure the things in Debian so that can join Linux and Windows(if possible as m not sure yet) clients to the directory server. Any links to setup both Forward and Reverse lookup zone in the environment.
View 4 Replies
View Related
Dec 15, 2010
I just put a pfSense firewall inbetween my ADSL router and my LAN. It's configured to have a cachng DNS server and a DHCP server. Among other things. For reasons beyond this post the address range served by DHCP changed from 10.0.0.x to 192.168.1.x. The new DHCP server gives 192.168.1.1 as gateway and DNS server name and not the public IP addresses of our internet provider.
After reconnecting our client machines everything worked just fine on the win-xp boxes, but the Debian Squeeze servers and Ubuntu 10.4 clients all started to get network timeouts. If I ping public websites it works but browsing to the same servers fails. Other services like POP3 and IMAP also fails. All machines use WiFi to connect and the access point is the same as before.
What could it be that make the debian boxes fail? My laptop runs squeeze too and also fails. But when connecting to various other access points at hotels and such I do not get this problem.
Another weird thing is that the debian server running virtualbox cannot do things online but the virtual windows boxes running on this machine can. Weird! Where should I start looking? How is networking/dhcp clients on Debian different from Windows XP?
View 1 Replies
View Related
Apr 27, 2011
I'm running gnome desktop on squeeze system. When I boot my system seems to be using my internet modem as its dhcp server. The rest of the machines on my lan are correctly using my router for that purpose. As a result, what happens then is that my debian machine frequently gets a duplicate ip address assigned to it. I would like to specify to my debian computer that I want it to use the specific fixed ip address of my router for dhcp purposes.
View 9 Replies
View Related
Jun 14, 2011
I wanted to setup my server as a router/gateway just for educational purposes and also when it succeeded i will keep the gateway and place it on the front line right after my modem.
My current setup as it is now :
The GATEWAY/ROUTER will be doing the main work to act as a dhcp server and firewall.
Now my setup as it is now :
So now what i ment to do was :
Let the clients connect to the gateway via ETH1 and all the stuff being router to ETH0 which is the NIC that is connected to the internet.
But now i have two huge problems :
1. The DHCP configuration seems to be fine the client machines get their ip adresses and /etc/resolve.conf looks fine to. But somehow the GATEWAY/ROUTER wont let me use the specified external DNs server so i cant do anything on these machines.
2. The firewall script [url] at line 27 should be DROP but if i use this line of code the GATEWAY/ROUTER cannot use his dns server settings so when i try to browse the internet or ping a machine outside my local network it would came up with nothing.
View 1 Replies
View Related
Dec 3, 2010
Alright, I edited "/etc/default/isc-dhcp-server" and set "eth0" as the only thing listed for interfaces. I also have the code below in "/etc/dhcp/dhcp3/dhcpd.conf" and I even copied it to "/etc/dhcp/dhcpd.conf" for good measure, and I can't get the DHCP server to start. As an intermediate to advanced user, I am under the high assumption that it is broken since everything in the docs has been set. I have googled for two days and cannot find a fix, so before I report it as a broken package, would somebody with more experience with the package chime in?
Configuration file:
subnet 10.0.0.0 netmask 255.255.255.0 {
option domain-name-servers 10.0.0.254;
option broadcast-address 10.0.0.255;
[Code].....
I hid my wireless setup because it contains my WiFi network info including key. This box is routing, doing DNS resolution, and firewalling just fine. I just cannot get the friggin' DHCP server to start no matter what I try.
Oh, and is it safe to delete "/etc/dhcp" or "/etc/dhcp3"? They appear to be duplicates of each other...
View 1 Replies
View Related
Jan 8, 2011
I have been using another OS but thought for Ham Radio Debian might be good however my stupidity took over right at the start.Have a live cd and works fine but I don't know how to connect to the Internet.Using DSL.
View 9 Replies
View Related
Oct 13, 2010
I set up a vpnc connection, and it says it connects fine, but then I have no internet connection at all, and cannot ssh into the remote server(the reason i need this vpn) or do anything else involving the internet.I question if it actually connects at all, as sudo vpnc myconf.conf only shows the connect banner and never progresses from there.
View 4 Replies
View Related
Aug 30, 2010
I have tested several Linux Distros over the last weeks, and with all of them my DSL connection have been working out of the box (for intance Mandriva, Ubuntu, Mint). But it does not work on Dreamlinux, neither on Live CD or now where Dreamlinux is installed on my harddisk.
According to the guidelines provided by my Internet provider I need to use TCP/IP and activate DHCP. And make sure that PPPoE is not activated.
I see nowhere I can do this in Dreamlinux. In the controle panel i can run Wicd. Then I can chose to de-activate Wicd - this gives me an option of entering Adress, Networking mask, Gatway and Nameserver - for static ip it says - and this is the opposit of DHCP, right??
SO - what to do? Should I get a debian package or something? (Dreamlinux is using debian packages, as far as I could see)
View 1 Replies
View Related
Jun 9, 2010
I am currently trying to connect to internet through my wireless card, after half day's effort I reached to this point:
/******The following error appears in the dmesg kernel ring buffer output:
ipw2200: ipw2200-bss.fw load failed: Reason -2
ipw2200: Unable to load firmware: -2
ipw2200: failed to register network device
ipw2200: probe of 0000:02:03.0 failed with error -5*********/
I found a solution from Intel website saying that the problem might be: "firmware in wrong location or wrong firmware version". So I proceeded to download the firmware and placed it in /lib/firmware. Also I tried to use menuconfig to enable loading firmware via hot-plug, but I think I have done something wrong when I was configuring the hotplug and firmware.
View 5 Replies
View Related
Apr 15, 2011
I am using Empathy IM client to access to gadu gadu and to message with my friends. The strange thing that is happening is that I keep on being connected and then disconnected and then connected again even if I am continuously connected to my internet connection (no problem when surfing or using skype for example)It also seems to come only from me because when my girlfriend is using the same gadu gadu on her windows laptop simultaneously, she doesn´t get disconnected (whether when she is at home and using the same connection as I am or when she is outside, meaning that it doesn´t seem to come from the whole gadu gadu network)maybe it has something to do with the ports that gadu gadu is using but it is strange that sometimes it is working for a period of time and then not and then again.
View 1 Replies
View Related
Aug 28, 2015
I just freshly installed Jessie on my Dell Inspiron 5110, I configured the network on the installer and had no problem. I can browse the web, get updates and install software.
But I can't find new networks. It just show "No Networks".
lspci -vnn
Code: Select all09:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] [8086:008a] (rev 34)
  Subsystem: Intel Corporation Centrino Wireless-N 1030 BGN [8086:5325]
  Flags: bus master, fast devsel, latency 0, IRQ 55
  Memory at f7e00000 (64-bit, non-prefetchable) [size=8K]
[Code] ....
What input should I post?
View 13 Replies
View Related
Jan 5, 2011
I would like to run a mailing daemon on my system that would receive incoming mail and forwards it to my Gmail account. I have no experience in mail services and forwarding mail at all. where to start reading and/or look for clues?
View 3 Replies
View Related
Feb 16, 2010
"My network" is behind a firewall inside a larger windows network with AD. My network has a Debian Server with samba 3.2 running. One of the hosts that are on the outside of my firewall has a share that I and other Linux-users on the debian server wants to access.
View 1 Replies
View Related
May 26, 2010
I've set up a permanent DHCP lease for my MAC address. I did this hoping to resolve the fact that I share my Internet ADSL connection with my wife and my daughter (the latter a great bandwidth hog)!
View 5 Replies
View Related
Apr 5, 2010
I'm trying to set up a small web server with php and sqlite support. I installed lighttpd, php5, php-sqlite3 and php5-sqlite3. Then, I enabled sqlite and pdo extensions in php.ini:
extension=pdo.so
extension=sqlite.so
extension=pdo_sqlite.so
However, when I try to open a SQLite3 database from php:
$database = new SQLiteDatabase($myDB, 666, $error);
I get the following exception:
SQLiteDatabase::__construct() [sqlitedatabase.--construct]: file is encrypted or is not a database
Some readings in the net make me think that my php settings are not compatible with SQLite3 databases. Is anyone successfully working with SQLite3 databases from PHP5 under Debian? Have you any recommendations? Should I rebuild php maybe?
View 3 Replies
View Related
Nov 26, 2010
I am putting together a server and computer lab at my school for Standardized testing, and am planning on using debian for it. But first, i must prove to the school board that this is a possible and viable option, so right now it is one pc with 1 gig ram (Going to be the server for this experiment), and two others with around 512 mb ram.the problem with all this is, the computers in the lab cannot have hard drives, as there is some sort of licencing issue. So I need to be able to have these two testing computers boot from the server's hard drive.
View 14 Replies
View Related
Jan 3, 2011
I have 2 windows pc's in my home and an office computer that have my files strewn about. I wanted to have them all in one central location that keeps a backup copy, so i used an old machine to start building a file server. I installed debian 5.0 on the machine, command line interface only. I have gotten ssh working so that i can do all my work on the box from one of my windows pc's by logging in with putty.my current problem is how to easily use the box hard drive for storing my files in an easily accessible way. i'm still working on getting samba to work so that i could map the /home directory to a drive letter on my two home pc's, but i'd also like to access files from my work pc. Before i do that, though, i wanted to know if this is safe and secure to map a drive on a remote machine through the internet? Are there any other security concerns I need to be addressing by having this file server set up?
View 7 Replies
View Related
Jan 7, 2011
We have the following server at collocation: [URL]
Provider's technicians were working for 3 hrs but finally were unable to set up hardware RAID1 on it.
What could prevent them from doing it? Is it difficult to set up RAID1? It is mentionned as basic function in specifications.
They said debian not booting after raid configured...
View 2 Replies
View Related
Sep 12, 2011
I configure my server just like on the link found in novell i hope some can help me here. my client is able to recieve DHCP address and everything is working fine on the network how ever my client cannot pullup any website, but my server is able to pullup whats wrong on this one.
Cool Solutions: HOW-TO: Set Up a SUSE 10 Machine As a Router
View 3 Replies
View Related
Jan 22, 2010
I'm going to load ubuntu server to a computer just for testing and learning. There is one ethernet card on this computer that will only be used occasionally to connect to the internet. This computer will not have any computers or routers connected to it. So my question is, once installed and running, will DHCP just sit quietly and wait for a request or is it going to complain a lot that it is not finding any other computers?
View 4 Replies
View Related
Jan 30, 2010
I'm trying to give some windows users a permanent connection to a samba share behind a firewall over the public Internet. I know I can give them access with something like winscp (which they have done) but really I'd like to do it with a VPN so it seems seamless to the user. However I have no idea how to set up the server to support this and am finding the documentation a bit confusing. The samba share is on a Debian box and the firwewall is a Linksys WRT54GL.
View 1 Replies
View Related
Mar 11, 2010
i've been trying for the last 2 days (onoff) to setup a simple samba share to connect to my windows 7 box
[Code]....
View 3 Replies
View Related
Apr 22, 2010
I'm kinda new to this. I've had my laptop dual booted with vista and Ubuntu for about a year. I'm just now starting to configure Ubuntu for a DNS and a DHCP Server.
View 2 Replies
View Related
Sep 26, 2010
I have installed openSUSE KDE 11.3 on my notebook. Everything looks great, but I can't connect on internet. It looks like dhcp don't work. Wireless works fine, only auto eth0 don't work.
View 9 Replies
View Related