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: bartosz <ba***z@miklaszewski.com>
Message Hash: c77339e2d331b97b4c826152671a6a294190b18773c7ead2a4d3a82a67ac6b0b
Message ID: <6f4eb330-9ea7-4261-b510-3d16b1853c63@grasehotspot.org>
Reply To: <CAESLx0KrP6UPz5fEUcL9ACVWJPo6JDhTifNQ5YW_x14ioStC5w@mail.gmail.com>
UTC Datetime: 2014-09-24 21:36:22 UTC
Raw Date: Wed, 24 Sep 2014 21:36:22 -0700

Raw message

ok, so back again, its nightly

and network setup shows right interfaces, then hit save and reboot, and no 
change

dhcp dead

and changing password, or add new user - is locking me out from portal, and 
can not log in again, tells me my password is incorrect :|







On Thursday, 25 September 2014 05:01:57 UTC+1, timwhite88 wrote:
>
> 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***.@miklaszewski.com <javascript:>> 
> 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***.@grasehotspot.org <javascript:>.
>> To post to this group, send email to gr***.@grasehotspot.org 
>> <javascript:>.
>> 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