2014-09-24 - Re: Ubuntu 14.04 LTS + grase installation - (second network card problem - card is visible with ifconfig -a)

Header Data

From: bartosz <ba***z@miklaszewski.com>
Message Hash: 28fa10dadb851a4c0a572beed42cdd03f75d40ade31adb4a5a93300dfa133420
Message ID: <813ff58a-2a22-4a02-94b1-b35f6efee3b9@grasehotspot.org>
Reply To: <1399fe0a-8e8f-4b2b-b01b-5565809c5c35@grasehotspot.org>
UTC Datetime: 2014-09-24 20:57:27 UTC
Raw Date: Wed, 24 Sep 2014 20:57:27 -0700

Raw message

nearly fixed !!! only DHCP server is not working....

ok so what i did is, edited file: /etc/chilli/config and changed: eth 
interfaces to correct ones

Enter code her###
#   Local Network Configurations
#

HS_WANIF=${HS_WANIF:-eth0}            # WAN Interface toward the Internet
HS_LANIF=${HS_LANIF:-eth1}                 # Subscriber Interface for 
client devices
#HS_LANIF=$(cat /proc/net/dev|grep -o eth.|grep -v $(route -n|grep 
'^0.0.0.0'|head -n1|awk '{pri$
HS_NETWORK=${HS_NETWORK:-10.1.0.0}         # HotSpot Network (must include 
HS_UAMLISTEN)
HS_NETMASK=${HS_NETMASK:-255.255.255.0}    # HotSpot Network Netmask
HS_UAMLISTEN=${HS_UAMLISTEN:-10.1.0.1}     # HotSpot IP Address (on 
subscriber network)
HS_UAMPORT=3990            # HotSpot UAM Port (on subscriber network)
HS_UAMUIPORT=4990          # HotSpot UAM "UI" Port (on subscriber network, 
for embedded portal)e...

changed to:

###
#   Local Network Configurations
#

HS_WANIF=${HS_WANIF:-em1}            # WAN Interface toward the Internet
HS_LANIF=${HS_LANIF:-eth0}                 # Subscriber Interface for 
client devices
#HS_LANIF=$(cat /proc/net/dev|grep -o eth.|grep -v $(route -n|grep 
'^0.0.0.0'|head -n1|awk '{pri$
HS_NETWORK=${HS_NETWORK:-10.1.0.0}         # HotSpot Network (must include 
HS_UAMLISTEN)
HS_NETMASK=${HS_NETMASK:-255.255.255.0}    # HotSpot Network Netmask
HS_UAMLISTEN=${HS_UAMLISTEN:-10.1.0.1}     # HotSpot IP Address (on 
subscriber network)
HS_UAMPORT=3990            # HotSpot UAM Port (on subscriber network)
HS_UAMUIPORT=4990          # HotSpot UAM "UI" Port (on subscriber network, 
for embedded portal)


so now! after reboot i can login to grase admin panel: 
html://192.168.7.100/grase/radmin - EVERYTHING LOOKS TO WORKING FINE 

APART FROM DHCP :|

SERVER IS NOT ASSIGNING ANY IP








any idea ? maybe i should change some interfaces somewhere else ?


On Wednesday, 24 September 2014 21:42:02 UTC+1, bartosz wrote:
>
> Hi, on the begging many thx for great hotspot system, I use with 4 
> different places and never had problems until today
>
>
>
> # hardware used
> Intel Next Unit Of Computing (mini pc) with usb network card
>
> # Ubuntu installation process
> went as usual, with small difference, it didn't show the screen where you 
> choice network card. 
>
> # after installation
>
> "ifconfig" command shows em1 and lo but no usb lan card interface, where 
> em1 is connected to outside world and getting ip over dhcp.
>
> "ifconfig -a" shows usb card as eth0 (so card is visible and if i set it 
> up manually it works when connected to internet)
>
> as i need manual ip ive changed it to:
>
> "cat /etc/networks/interfaces"
> --------------------------------
> auto lo
> iface lo inet loopback
>
> auto em1
> iface em1 inet static
> address 192.168.7.100
> network 192.168.7.0
> netmask 255.255.255.0
> broadcast 192.168.7.255
> gateway 192.168.7.1
> dns-nameservers 8.8.8.8 4.2.2.2
> --------------------------------
>
> #grase installation - no problems !!
>
> wget 
> http://packages.grasehotspot.org/pool/main/g/grase-repo/grase-repo_1.5_all.deb
>
> sudo dpkg -i grase-repo_1.4_all.deb
>
> sudo apt-get update
>
> sudo apt-get install grase-www-portal grase-conf-freeradius 
> grase-conf-squid3 grase-conf-openvpn
>
> # after grase installation
>
> ifconfig shows now: em1 lo and tun0 (10.64.63.48) but no eth0
>
>
> i know its something stiupid with configuration, but i missing it, and 
> this is 3rd day i am working on it an still no changes :| so i hope someone 
> knows what i am missing, if you need some other setting please let me know 
>
> many thanks
>
> Bartosz
>
>
>

Thread