2014-10-04 - 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: 5a2899c17709d12b9527a645efbceeda5fc86eff864dc76a235e647512e8665f
Message ID: <CAESLx0Lww8CuKeNC4RQ4o31PbE+Vte9KnBPQDqfHd4EqMpDaHQ@mail.gmail.com>
Reply To: <a4ec046a-3520-46f0-a114-b57e13441589@grasehotspot.org>
UTC Datetime: 2014-10-04 13:31:41 UTC
Raw Date: Sun, 05 Oct 2014 06:31:41 +1000

Raw message

This login issue should now be fixed.

Tim
On Sep 26, 2014 11:28 PM, "Mohammad Javad Ra'adi" <pe***t@gmail.com>
wrote:

> yes the nightly has admin login problem. it was able to go around this
> problem. i'll show you how:
> first you need to edit file
> "/usr/share/grase/www/radmin/includes/session.inc.php"
> at line 94 you have this "cryptType" option. set it to "md5" so it looks
> like this"
> 'cryptType' => 'md5'
> and then you should go to your database and put your username and password
> and access level manually. you should make a md5 hash of your password and
> paste it to the "auth" table of "radmin" database.
> i know that's not a good solution meanwhile it solves the problem until
> Tim fixes this bug.
>
> On Thursday, September 25, 2014 8:06:22 AM UTC+3:30, bartosz wrote:
>>
>> 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> 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/gras
>>>>> e-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.
>>>> To post to this group, send email to gr***.@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>
>>>> .
>>>>
>>>  --
> 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/a4ec046a-3520-46f0-a114-b57e13441589%40grasehotspot.org
> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/a4ec046a-3520-46f0-a114-b57e13441589%40grasehotspot.org?utm_medium=email&utm_source=footer>
> .
>

Thread