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

Header Data

From: Timothy White <ti***8@gmail.com>
Message Hash: 425c6710f96046e8d894ee9536eee0ab246ab7a7d45d39667294ca1e521e9da8
Message ID: <CAESLx0KrP6UPz5fEUcL9ACVWJPo6JDhTifNQ5YW_x14ioStC5w@mail.gmail.com>
Reply To: <813ff58a-2a22-4a02-94b1-b35f6efee3b9@grasehotspot.org>
UTC Datetime: 2014-09-24 21:01:56 UTC
Raw Date: Thu, 25 Sep 2014 14:01:56 +1000

Raw message

Are you using nightly or stable? It looks like stable which isn't supported
on 14.04 yet.

You need to login to the web interface and set the correct network
interfaces. On the network setup page, hit save even if it shows the right
interfaces already. Then reboot.

Let me know how it goes.

Tim
On Sep 25, 2014 1:57 PM, "bartosz" <ba***z@miklaszewski.com> wrote:

> 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
>>
>>
>>  --
> This mailing list is for the Grase Hotspot Project http://grasehotspot.org
> ---
> You received this message because you are subscribed to the Google Groups
> "Grase Hotspot" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gr***e@grasehotspot.org.
> To post to this group, send email to gr***t@grasehotspot.org.
> Visit this group at
> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
> To view this discussion on the web visit
> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/813ff58a-2a22-4a02-94b1-b35f6efee3b9%40grasehotspot.org
> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/813ff58a-2a22-4a02-94b1-b35f6efee3b9%40grasehotspot.org?utm_medium=email&utm_source=footer>
> .
>

Thread