2014-10-04 - Re: [GRASE-Hotspot] 12.04 LTS and 14.04 LTS (nightly) DHCP doesn’t work

Header Data

From: bartosz <ba***z@miklaszewski.com>
Message Hash: 64eb31a5f03f5e492e2280c8c5c74417b4126dee76a504f8a5eba1ca97c51918
Message ID: <7768809a-842b-4487-9b96-edb2265739f8@grasehotspot.org>
Reply To: <CAESLx0+WkGTLPHL-2t6mXZVh1KzNVnX7Qcxj10L3GEtk_Z_jMg@mail.gmail.com>
UTC Datetime: 2014-10-04 13:53:58 UTC
Raw Date: Sat, 04 Oct 2014 13:53:58 -0700

Raw message

with 12.04

modification like: full screen background
css modification like:

@import url(http://fonts.googleapis.com/css?family=Oswald);
div {
  text-align: center;
}
h4 {
 font-family: 'Oswald', sans-serif;
 color: white;
 font-size: 45px;
  font-weight: 800;
 text-shadow: 0px 0px 15px rgba(0, 0, 0, 1);
}
h3 {
  
}
label {
  font-size: 50px;
  text-shadow: 0px 0px 9px rgba(255, 255, 255, 1);
  font-weight: bold;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
}
input#usernamenojs {
  align: center;
  font-size: 50px;
  width: 300px;
  height: 60px;
  font-family: 'Oswald', sans-serif;
}
input#passwordnojs {
  font-size: 50px;
  width: 300px;
  height: 60px;
  font-family: 'Oswald', sans-serif;
}
button#submitbuttonnojs {
  text-size:30px;
  width: 300px;
-moz-box-shadow: 0px 1px 0px 0px #f0f7fa;
-webkit-box-shadow: 0px 1px 0px 0px #f0f7fa;
box-shadow: 0px 1px 0px 0px #f0f7fa;
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, 
#33bdef), color-stop(1, #019ad2));
background:-moz-linear-gradient(top, #33bdef 5%, #019ad2 100%);
background:-webkit-linear-gradient(top, #33bdef 5%, #019ad2 100%);
background:-o-linear-gradient(top, #33bdef 5%, #019ad2 100%);
background:-ms-linear-gradient(top, #33bdef 5%, #019ad2 100%);
background:linear-gradient(to bottom, #33bdef 5%, #019ad2 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#33bdef', 
endColorstr='#019ad2',GradientType=0);
background-color:#33bdef;
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px;
border:1px solid #057fd0;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:arial;
font-size:15px;
font-weight:bold;
padding:6px 24px;
text-decoration:none;
text-shadow:0px -1px 0px #5b6178;
}
Button#submitbuttonnojs:hover {
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, 
#019ad2), color-stop(1, #33bdef));
background:-moz-linear-gradient(top, #019ad2 5%, #33bdef 100%);
background:-webkit-linear-gradient(top, #019ad2 5%, #33bdef 100%);
background:-o-linear-gradient(top, #019ad2 5%, #33bdef 100%);
background:-ms-linear-gradient(top, #019ad2 5%, #33bdef 100%);
background:linear-gradient(to bottom, #019ad2 5%, #33bdef 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#019ad2', 
endColorstr='#33bdef',GradientType=0);
background-color:#019ad2;
}
Button#submitbuttonnojs:active {
position:relative;
top:1px;
}
body { 
background: url('http://10.1.0.1/harrys.jpg') no-repeat center center fixed;
background-color: black;
-moz-background-size: cover;
-webkit-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
strong {
  font-size: 50px;
  font-weight: bold;
  color: red;
  text-shadow: 0px 0px 9px rgba(0, 0, 0, 1);
}

as well like some simple things like: editing form in portal.tpl (centring 
login fields etc. or simple <br> after username and password so everything 
is in line centered)


would be great idea to add some kind of picture uploader, at the moment i 
use wget to download from other servers pictures and logos, etc...
i am happy to show you my hotspot login pages ive done for now, i will do 
screenshot and send you tomorrow

and will backup files somhow and install 14.04, what is your email or gmail 
contact ? 



On Saturday, 4 October 2014 21:42:51 UTC+1, timwhite88 wrote:
>
> Also. Let me know why you modify HTML and CSS files directly. You should 
> be able to achieve any look with the built in customisation. Let me know 
> what you can't do and I'll show you how you can, or add another 
> customisation point.
>
> Tim
> On Oct 5, 2014 6:40 AM, "bartosz" <ba***.@miklaszewski.com <javascript:>> 
> wrote:
>
>> Hi Tim, 
>>
>> i dont think its driver issue, as it works perfectly fine with grase 
>> 12.04, and 14.04 (as a network card)
>>
>> let me do some backups, i just setup 12.04 grase, and already modify some 
>> files css and html so i will copy all, install 14.04 again and get back to 
>> you
>>
>>
>>
>>
>> On Saturday, 4 October 2014 21:27:04 UTC+1, timwhite88 wrote:
>>>
>>> Hi Bart
>>>
>>> I'd love to try and help you get the nightly working. While it's a 
>>> "nightly" it's actually pretty stable. The reason it's not the latest 
>>> stable release yet is partially the lack of an upgrade path.
>>>
>>> It sounds like you keep reinstalling. This actually makes it hard to 
>>> work out what your issue is as we can't get you to run much diagnostics. It 
>>> sounds like you get it all setup but dhcp doesn't work for long? This could 
>>> be a driver issue with your USB network card. Maybe provide some more 
>>> details of the hardware.
>>>
>>> Tim
>>> On Oct 5, 2014 2:03 AM, "bartosz" <ba***.@miklaszewski.com> wrote:
>>>
>>>> Hi, try again but no joy, i just moving back to 12.04, will try again 
>>>> when nightly became stable
>>>>
>>>> many thanks for all help
>>>>
>>>>
>>>>  
>>>>
>>>> On Friday, 3 October 2014 18:25:15 UTC+1, bartosz wrote:
>>>>>
>>>>> ok, will try to reinstall it from beginning, as i was messing around, 
>>>>> and it worked for a moment and after reboot stopped... will get back to you 
>>>>> tonight 
>>>>>
>>>>>
>>>>>
>>>>> many thanks for support.
>>>>>
>>>>>
>>>>>
>>>>> On Thursday, 2 October 2014 01:24:32 UTC+1, timwhite88 wrote:
>>>>>>
>>>>>> Hi Bart
>>>>>>
>>>>>> This is correct. 10.1.0.1 should be on one of the tun interfaces, not 
>>>>>> eth1. eth1 is put into a special mode that Coova Chilli handles, and so you 
>>>>>> only see the other side, tun0.
>>>>>>
>>>>>> This should be working with LAN connections on eth1 (via Coova Chilli)
>>>>>>
>>>>>> Tim
>>>>>>
>>>>>> On Thu, Oct 2, 2014 at 2:50 AM, bartosz <ba***.@miklaszewski.com> 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Tim, so I reinstalled 14.04, then changed apt to nightly, change 
>>>>>>> settings in interfaces to eth1 manual
>>>>>>> even changed interface, as my wan is em1 and lan is eth0, ive 
>>>>>>> changed it to eth1, but this does not make any difference
>>>>>>>
>>>>>>> so logged in to /grase/radmin/ from wan side interfaces and in 
>>>>>>> network setting section looks good em1=wan and eth1=LAN, but ive saved them 
>>>>>>> anyway... as you said
>>>>>>>
>>>>>>> what ive noticed is, when run ifconfig... it assign 10.1.0.1 to 
>>>>>>>  tun0 instead of eth1
>>>>>>>
>>>>>>> any idea how to force grase to use LAN eth1 ?
>>>>>>>
>>>>>>> bart@harrys:~$ ifconfig 
>>>>>>> em1       Link encap:Ethernet  HWaddr c0:3f:d5:6a:09:1e  
>>>>>>>           inet addr:192.168.7.13  Bcast:192.168.7.255 
>>>>>>>  Mask:255.255.255.0
>>>>>>>           inet6 addr: fe80::c23f:d5ff:fe6a:91e/64 Scope:Link
>>>>>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>>>>>           RX packets:308 errors:0 dropped:0 overruns:0 frame:0
>>>>>>>           TX packets:315 errors:0 dropped:0 overruns:0 carrier:0
>>>>>>>           collisions:0 txqueuelen:1000 
>>>>>>>           RX bytes:37517 (37.5 KB)  TX bytes:33434 (33.4 KB)
>>>>>>>           Interrupt:20 Memory:f7c00000-f7c20000 
>>>>>>>
>>>>>>> eth1      Link encap:Ethernet  HWaddr 00:e0:4c:36:00:8c  
>>>>>>>           inet6 addr: fe80::2e0:4cff:fe36:8c/64 Scope:Link
>>>>>>>           UP BROADCAST RUNNING PROMISC  MTU:1500  Metric:1
>>>>>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>>>>>           TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
>>>>>>>           collisions:0 txqueuelen:1000 
>>>>>>>           RX bytes:0 (0.0 B)  TX bytes:648 (648.0 B)
>>>>>>>
>>>>>>> lo        Link encap:Local Loopback  
>>>>>>>           inet addr:127.0.0.1  Mask:255.0.0.0
>>>>>>>           inet6 addr: ::1/128 Scope:Host
>>>>>>>           UP LOOPBACK RUNNING  MTU:65536  Metric:1
>>>>>>>           RX packets:121 errors:0 dropped:0 overruns:0 frame:0
>>>>>>>           TX packets:121 errors:0 dropped:0 overruns:0 carrier:0
>>>>>>>           collisions:0 txqueuelen:0 
>>>>>>>           RX bytes:26613 (26.6 KB)  TX bytes:26613 (26.6 KB)
>>>>>>>
>>>>>>> tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
>>>>>>>  
>>>>>>>           inet addr:10.1.0.1  P-t-P:10.1.0.1  Mask:255.255.255.0
>>>>>>>           UP POINTOPOINT RUNNING  MTU:1500  Metric:1
>>>>>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>>>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>>>>>           collisions:0 txqueuelen:100 
>>>>>>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>>>>>>
>>>>>>> tun1      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
>>>>>>>  
>>>>>>>           inet addr:10.64.63.178  P-t-P:10.64.62.1 
>>>>>>>  Mask:255.255.255.255
>>>>>>>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>>>>>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>>>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>>>>>           collisions:0 txqueuelen:100 
>>>>>>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>>>>>>
>>>>>>> bart@harrys:~$ 
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Saturday, 27 September 2014 07:07:43 UTC+1, timwhite88 wrote:
>>>>>>>>
>>>>>>>> Hi Bartosz
>>>>>>>>
>>>>>>>> Firstly, changing things in /etc/chilli/config will break things. 
>>>>>>>> It sounds like your interface name is different to the interface names 
>>>>>>>> Grase is expecting, so it doesn't default to it. Once you have the web 
>>>>>>>> interface accessible, please go to the network settings page, and select 
>>>>>>>> the correct interfaces and hit save. There may be a slight bug, so even if 
>>>>>>>> it appears correct initially, please hit save anyway.
>>>>>>>>
>>>>>>>> What changes did you make to /etc/freeradius/radiusd.conf?? 
>>>>>>>> Nothing in there should have affected DHCP.
>>>>>>>>
>>>>>>>> Tim
>>>>>>>>
>>>>>>>> On Sat, Sep 27, 2014 at 6:14 AM, bartosz <ba***.@miklaszewski.com> 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi, I am having this problem with DHCP, basically, when installed 
>>>>>>>>> grase, for some reason chilli couldn't find my LAN card, so i had to change 
>>>>>>>>> settings manually in /etc/chilli/config, and then it worked, i could login 
>>>>>>>>> to localhost/grase/radmin
>>>>>>>>>
>>>>>>>>> problem i have now, (both 12.04 LTS and 14.04 LTS nightly - sounds 
>>>>>>>>> that its related to hardware) that DHCP is not assigning ips's from LAN 
>>>>>>>>> side, can someone help me with settings?, where can i find settings for 
>>>>>>>>> grase DHCP? i believe grase, choose wrong interface (like with chilli), so 
>>>>>>>>> I hope if I set it up manually it will work.
>>>>>>>>>
>>>>>>>>> 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/gra
>>>>>>>>> sehotspot.org/group/grase-hotspot/.
>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-h
>>>>>>>>> otspot/b4a89e4b-44d3-461c-8e5c-d205e4e99af6%40grasehotspot.org 
>>>>>>>>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/b4a89e4b-44d3-461c-8e5c-d205e4e99af6%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***.@grasehotspot.org.
>>>>>>> To post to this group, send email to gr***.@grasehotspot.org.
>>>>>>> Visit this group at http://groups.google.com/a/gra
>>>>>>> sehotspot.org/group/grase-hotspot/.
>>>>>>> To view this discussion on the web visit 
>>>>>>> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-
>>>>>>> hotspot/978edc39-769a-4941-97e4-0a0565f814ed%40grasehotspot.org 
>>>>>>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/978edc39-769a-4941-97e4-0a0565f814ed%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***.@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/6fd134b9-1aa6-
>>>> 4cb5-8894-2d9440893786%40grasehotspot.org 
>>>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/6fd134b9-1aa6-4cb5-8894-2d9440893786%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***.@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/a3e0cccf-0755-4a7d-b2c9-3b2a4ec0e4c3%40grasehotspot.org 
>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/a3e0cccf-0755-4a7d-b2c9-3b2a4ec0e4c3%40grasehotspot.org?utm_medium=email&utm_source=footer>
>> .
>>
>

Thread