GithubHelp home page GithubHelp logo

ronnyvdbr.github.io's People

Contributors

dex2000 avatar ronnyvdbr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ronnyvdbr.github.io's Issues

configuration

How does one configure the IMAGE once they install, i boot it up, login and i cant even ping google.com
My other computers see the wirless network but have no internet. Internet works so i assume i need to configure this somehow ? seems documentation is lacking...

Feature Request: Wireless client and software AP with a single Wi-Fi device

this would be AWSOME - taking a raspi device to any place (especially hotels) and allow it to function as secured-private_nat_provider repeater
This way, you will have good wifi connection at any place in the room AND you will be secured behind firewall and iptables etc.
NAT option will allow several devices to connect securely via netwrok w/o evil forces eavesdropping on you

Along w/ your roadmap, it seems that this feature request has a very little effort as shown in the embedded (arch linux) wiki
https://wiki.archlinux.org/index.php/Software_access_point#Wireless_client_and_software_AP_with_a_single_Wi-Fi_device

can't get 192.168.1.1

this is a bit weird, I can connect to "RaspberryWAP" but can't establish connection to 192.168.1.1,
this is my network diagram,
[OpenWRT router]---[raspberry router]---[client/my laptop via RaspberryWAP AP]

this is my laptop IP
โฏ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 5c:26:0a:74:48:aa brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 38:59:f9:05:0a:a7 brd ff:ff:ff:ff:ff:ff
inet 192.168.8.137/24 brd 192.168.8.255 scope global dynamic wlp2s0
valid_lft 42923sec preferred_lft 42923sec
inet6 fd66:67b7:4126::9a2/128 scope global
valid_lft forever preferred_lft forever
inet6 fd66:67b7:4126:0:6e2a:8f61:bb0d:14d0/64 scope global noprefixroute
valid_lft forever preferred_lft forever
inet6 fe80::816c:217:3bc3:73b4/64 scope link
valid_lft forever preferred_lft forever

seems it point the gateway directly to my WRTrouter not Raspi(?)

raspi IP :
$ ifconfig
br0 Link encap:Ethernet HWaddr 20:11:22:33:44:55
inet addr:192.168.8.243 Bcast:192.168.8.255 Mask:255.255.255.0
inet6 addr: fe80::2211:22ff:fe33:4456/64 Scope:Link
inet6 addr: fd66:67b7:4126::d1e/128 Scope:Global
inet6 addr: fd66:67b7:4126:0:e12c:b62c:c095:8aad/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:908 errors:0 dropped:0 overruns:0 frame:0
TX packets:512 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:104219 (101.7 KiB) TX bytes:346580 (338.4 KiB)

eth0 Link encap:Ethernet HWaddr 20:11:22:33:44:56
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1307 errors:2 dropped:1 overruns:0 frame:2
TX packets:1343 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:256355 (250.3 KiB) TX bytes:269104 (262.7 KiB)

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 00:11:d2:3c:48:16
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1253 errors:0 dropped:0 overruns:0 frame:0
TX packets:1663 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:198265 (193.6 KiB) TX bytes:593080 (579.1 KiB)

Can the project be used to log all network traffic on the wifi?

Hello, I would like to ask if the wifi router can be used to log all network traffic which will flow through the wifi.

I am trying to find something to do this, as I need this for testing in my project (need to see detailed communication log between the mobile app and developed hardware).

Thanks
Jan

install not logging in

Hi
This is a great idea, love the idea of having a UI to be able to work with BUT....
I have installed on a B+ Raspi.
I get the login page on IPaddress/login.php.
But when I do login the page that opens is a grey page.
looking in the var/www folder everything seems to be there.

AAA

Hi Ronny,
Thank you for this awesome project, Currently it's under testing on my RPi2 and i'm impressed.

Is it possible to limit the time access of the clients or in MB usage?
and to restrict username only for 1 device?

Edited:
Can you add daloRADIUS to manage the Clients?

Thank you

Waiting for sd card (settings partition)

After creating partition on sd card using fdisk and rebooting, the raspbian is stuck on the start screen which shows "For Recovery mode, hold shift". And a window shows "Waiting for sd card (settings partition)". What to do?

Sql

first
thanks for your work.... ;)

whats the login fo the sql server ?

thanks in advance

Some ideas for improvement?

First: Great Work. REALLY NICE IDEA!!

  1. Right now it takes a lot of time to change every entry in every file to change username password.
    I'd suggest a const in one file included in the other php files.

  2. I think adapting the sudoers file is not the most secure way to handle the services (see reasons for fork opnsense)

  3. as routersettings.ini is your main configuration file which might contain the wifi key, it shouldn't be stored in a folder where the www-data user has access. For now you can download the file without login or anything.

  4. Adapt install.sh for raspbian-lite.

  5. Add support for network-traffic monitoring for Captive Portal.
    Using http://www.netexpertise.eu/en/freeradius/usage-graphs.html
    and BandwidthD. Maybe adding some functions from https://github.com/GraseHotspot/grase-www-portal/blob/master/files/usr/share/grase/src/Grase/Database/Reports.php

I added to line 316 in Advanced-CaptivePortal.php
` <div id="ContentTitle" >
<a target="_blank" style="color:white;"href="https://192.168.178.50/bandwidthd/">Captive Portal User Traffic Monitor

<div id="ContentArticle" <?php if((strcmp($configurationsettings['operationmode'],'Access Point') == 0) || (strcmp($configurationsettings['captiveportal'],'disabled') == 0))  {echo 'style="display: none;';}?>>

              <?php 
                $recordset = select("select username,value from radcheck","radius");                   

                if (mysqli_num_rows($recordset) > 0) {
                  // output data of each row
                  while($row = mysqli_fetch_assoc($recordset)) {
                    echo '<a target="_blank" style="color:black;"href="https://192.168.178.50/bandwidthd/">';
                    echo '<hr /><h1 style="text-align:center; background:lightgrey;">' . $row["username"] . '</h1>';
                    echo '<img style="max-width:100%;"src="https://192.168.178.50/cgi-bin/graph.cgi?username=' .$row["username"] . '"</img>';
                    echo '</a>';

                  }
                } 
              ?>
`

If you want help, let me know. I'm very interested in this project.

Internet connection via wlan1 or 3G

Hello this is a very nice project. Are there any settings that the Internet connection via WLAN or 3G? Or is it planned?
Best Regards Mike

Does not work with compatible USB adapter

Hello, I have Realtek USB WiFi adapter that works with standard Raspbian image. However, it does not work with router image, probably because of missing driver?
I installed raspi-config and it looks like wifi is not enabled. How can I add standard drivers for USB Wifi? I am getting these errors in syslog:
Apr 17 19:18:46 raspberrypi systemd[1]: hostapd.service: main process exited, code=exited, status=1/FAILURE
Apr 17 19:18:46 raspberrypi hostapd[2271]: hostapd_free_hapd_data: Interface wlan0 wasn't started
Apr 17 19:18:46 raspberrypi hostapd[2271]: wlan0: AP-DISABLED
Apr 17 19:18:46 raspberrypi hostapd[2271]: wlan0: interface state UNINITIALIZED->DISABLED
Apr 17 19:18:46 raspberrypi hostapd[2271]: nl80211 driver initialization failed.
Apr 17 19:18:46 raspberrypi hostapd[2271]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Apr 17 19:18:46 raspberrypi hostapd[2271]: nl80211: Driver does not support authentication/association or connect commands
Apr 17 19:18:46 raspberrypi hostapd[2271]: Configuration file: /etc/hostapd/hostapd.conf
Apr 17 19:18:45 raspberrypi systemd[1]: Starting hostapd service...

Feature Request

Request an option to Restart & Shutdown the Router from the Home page

Suggestion

Suggest a link on the Router home page to the github project page.

log error

admin and raspberry no found

possibility add shairport and miracast audio ?

Login isn't working for web interface

This project is really great, and incredibly useful. I've been having difficulties trying to login to the web interface.

Is the default login info: admin/raspberry

I've tried this as well as root/raspberry pi/raspberry

WPA password change does not work

I changed the wpa password via the web interface and failed to connect so I sshed into the hostapd.conf and noticed the default password was not changed. When I modified the file manually everything worked fine!

keep up the great work!

Captive Portal is unstable

Great job sir. I just have an issue on activating captive portal. It is not working in my next reboot.
And if possible can you please include support to usb LAN adapter additional to usb wireless lan to broadcast in local network? and also please add login form before continuing to web configuration portal. God bless

Changing DNS?

Hi,

Thanks for your efforts with this project.

The main reason I tried this project was so that I could add my own DNS servers. I've tried adding the following, but nothing has worked both in router and AP mode.

Adding prepend domain-name-servers x.x.x.x in /etc/dhcp/dhclient.conf

Adding dns-nameservers x.x.x.x in /etc/network/interfaces

Adding namserver=x.x.x.x in /etc/resolv.conf

Cheers,
Ian

Feature Request

Request an option to change WiFi network address/mask.

The current default clashes with typical home networks.

reboot in middle of installer script???

This is funny. How the git will get installed?

########################################################################################

Update Firmware - Making sure that your Raspbian firmware is the latest version.

########################################################################################
sudo apt-get -y install rpi-update
sudo rpi-update
sudo reboot

########################################################################################

Set-up git and clone our repository into place.

########################################################################################

Install git and clone our repository

sudo apt-get -y install git-core
git clone https://github.com/ronnyvdbr/Raspberry-Wifi-Router.git /home/pi/Raspberry-Wifi-Router

Address For Web UI

Hi, i have gotten the Raspberry PI Wifi Router up and running and connected two devices. I have been trying to access the web ui of the router but i don't know what the address is. What is it please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.