[SOLVED] OpenVPN client get IP from servers DHCP
location: linuxquestions.com - date: February 27, 2014
I've been setting up my first Linux server (Ubuntu Server 12.04.4 LTS) in our company to set up a good way to share files.
I've successfully installed the server. I can SSH to it (via Putty), set up Samba Shares (different shares for different groups), and can access these shares as expected (users without permissions can't access defined shares, and can access shares they have rights to).
So far so good.
The problem is, I need for certain users to be able to access these folders from outside the LAN.
I can successfully connect through OpenVPN, but the IP the client gets is not in the same IP range as the LAN.
I have tried for the better part of a week to get OpenVPN to work as I wan't, but to no avail.
The servers IP on the LAN is 192.168.10.53, and I use that IP to connect the clients to the Samba shares.
When I get a successful connection through OpenVPN, the IP range is 10.8.0.X.
To be able to connect through VPN and be able to use the Samba Share
Debian VM unable to get IP address from DHCP
location: linuxquestions.com - date: November 29, 2010
I have a Debian VM on Windows that is not getting an IP address assigned by the DHCP. I tried, ifdown eth0 and then ifup eth0 and still no IP address. my interfaces file looks like this:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
iface lo inet loopback
# The primary network interface
iface eth0 inet dhcp
I am totally new to VM and linux. I don't know what to do about this issue. any help will be appreciated.
[SOLVED] EC2 instance ... get IP address
location: linuxquestions.com - date: October 5, 2013
It seems DHCP is the only way to get the IP address in an EC2 instance. My question is, do I need to leave DHCP running after that for any reason? Maybe something like leftovers from cloud-init are re-running DHCP. It ends up resetting default routes at times unexpected.
I'm putting together a cloud config script that I will have run before any init scripts run, with this to be run as early as possible, perhaps in initramfs. This cloud config needs to customize other init and config files based on what the instance is to be doing, where it is running, etc. So it need to run before all those things. Which means even before the network is set up (possibly removing that network setup, too).
Any suggestions? This will be part of a general use AMI.
dhcp clients don't get IP
location: ubuntuforums.com - date: September 21, 2008
i have a LTSP 5 system on edubuntu hardy.
there are 15 workstations.
my dhcp server gives static MAC-based IP addresses.
this is what happens:
- the workstations make DHCPREQUEST
- the server makes the DHCPOFFERs
- SOME WORKSTATIONS ACK after many repeated offers, other worlstations
don't ACK at all! (syslog is below...)
my firewall is off...
can anyone tell me something about this?
some of my syslog:
$ cat some_syslog.txt |grep dhcp
Sep 13 11:43:23 continuity dhcpd: DHCPDISCOVER from 00:50:ba:bf:66:29
Sep 13 11:43:28 continuity dhcpd: DHCPOFFER on 192.168.11.106 to
00:50:ba:bf:66:29 via eth2
Sep 13 11:43:34 continuity dhcpd: DHCPDISCOVER from 00:c0:df:25:31:87
Sep 13 11:43:44 continuity dhcpd: DHCPOFFER on 192.168.11.107 to
00:c0:df:25:31:87 via eth2
Sep 13 11:43:49 continuity dhcpd: DHCPDISCOVER from 00:50:ba:bf:66:29
Sep 13 11:43:54 continuity dhcpd: DHCPOFFER on 192.168.11.106 to
get IP address (command line)
location: ubuntuforums.com - date: December 3, 2010
how can I get IP address (command line) of a remote machine that connects to my server on certain port and sends some packets/data
Any help is appreciated
Wireless card can't get Ip address from router on Ubuntu 14
location: ubuntuforums.com - date: May 1, 2014
So a couple weeks back I set up Ubuntu 14.04 on my secondary hard drive, and I set up wireless with ndiswrapper and my realtek rtl8190 using a tutorial i found here. After that I could see the wireless networks but I could not connect to them, I asked for help on the forums and one of the forums member chili555 helped me out a lot (you can see that thread here; thanks again chili). Unfortunately I'am not at an end of my wireless troubles it seems. What happens now is that my wireless card seems to have trouble acquiring an IP address, which makes my boot time SUPER long. Sometimes, my computer won't connect until I log in and run a sudo dhclient -v wlan0 or a sudo ifdown wlan0 && sudo ifup -v wlan0, then it might connect and I can go on my merry way. Sometimes even running these commands don't work and my wireless card will get stuck broadcasting for an ip address, and then I'll have reboot a second time and then I can usually connect. The time I spend sometimes trying to tro
11.10 Can't Get IP Address Barnacle WiFi Tether
location: ubuntuforums.com - date: December 23, 2011
So, this is a super annoying problem! I'm trying to use Barnacle so that I and the other passengers can surf the internet on a road trip when we get bored of each other. I start up Barnacle and everyone can connect except for me, so I know that the problem is with Ubuntu and not Barnacle.
I've been screwing around with it (and not letting any of them connect, either, to make sure I'm not overloading it somehow) for the better part of two hours now, with zero results. This is especially frustrating because I have definitely used Barnacle with this laptop before but, well, like everyone says. That was back in 10.10.
Currently, it gets as far as the point where it's trying to get an IP address and then just fails miserable. I've tried to set up manually to no avail, and I think part of the reason for that may be that when I try to manually set my card's mode to ad-hoc it fails:
$ sudo iwconfig wlan0 mode ad-hoc
Error for wireless request "Set Mode" (8B06)
Connection failed: unable to get IP address
location: ubuntuforums.com - date: April 24, 2010
This is my first post on this forum as I really cannot solve this for some reason. I read through a lot of other topics and tried several things to fix my problem but nothing seems to work.
So I got Ubuntu 9.10 on my laptop working really neat and wanted to upgrade my desktop to 9.10 as well. So I reinstalled Ubuntu there and now I can't connect to my network anymore....
I have a usb wireless adapter (currently Sitecom as I bought a new one today to hopefully fix it, but ended up at exactly the same problem as with my old adapter). The network manager I'm using now is Wicd since some topics I was looking through were about malfunctioning GNOME network-manager (which I removed) and suggested to try this. The GNOME network-manager kept prompting to insert my WEP network key which was a correct one. When I removed all security from the network it didn't prompt anything anymore but just failed to connect. The Wicd network manager is so nice to tell me that it cannot obtain the IP addres
eth0 cannot get ip address
location: ubuntuforums.com - date: January 28, 2013
I have an Ubuntu 12.04 desktop with two ethernet cards. I I connect eth0 to the corporate LAN and eth1 to a Lynksys router then both the interfaces get an ip address. However if I connect eth1 to corporate LAN and eth0 to the router, then the eth0 never gets an ipaddress. How can I debug this? In the later case the o/p of ifconfig is
eth0 Link encap:Ethernet HWaddr 00:04:76:de:08:67
inet6 addr: fe80::204:76ff:fede:867/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82827 errors:1 dropped:0 overruns:1 frame:1
TX packets:84472 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:12041885 (12.0 MB) TX bytes:42357813 (42.3 MB)
Interrupt:18 Base address:0xcf80
eth1 Link encap:Ethernet HWaddr 00:1e:4f:df:29:64
inet addr:126.96.36.199 Bcast:188.8.131.52 Mask:255.255.254.0
inet6 addr: fe80::21e:4fff:fedf:2964/64 Scope:Link
Can't get IP address on eth0
location: ubuntuforums.com - date: July 1, 2010
Since my upgrade to 10.04 I can't use my eth0 wired connection. The wireless works fine. I have tried auto eth0 in network connections set to manual and dhcp. eth0 shows up in ifconfig but no address is assigned.
Page: 1 2 3 4 5 6 7 8 9 10