Go to advanced search

by SurferTim
Tue Oct 02, 2018 12:17 pm
Forum: Troubleshooting
Topic: Re: "nofail" not working with external HD
Replies: 4
Views: 467

Re: "nofail" not working with external HD

My usb drive is formatted with ntfs, and I use this:

Code: Select all

UUID=1D1798506089E3C4  /home/pi/extdrive ntfs-3g auto,nofail,rw,default 0 0
Note "default" is singular.

Edit: Checking the manual for fstab, defaults (plural) is correct. Mine mounts if present, and doesn't fail the boot if not present. ??
by SurferTim
Sun Sep 30, 2018 11:57 am
Forum: Networking and servers
Topic: Uninstall AP
Replies: 6
Views: 1388

Re: Uninstall AP

If the topic of this thread is correct, then

Code: Select all

sudo apt-get remove hostapd
Reboot.
by SurferTim
Fri Sep 28, 2018 7:22 pm
Forum: Networking and servers
Topic: Wireless Access Point, No IPs
Replies: 8
Views: 1427

Re: Wireless Access Point, No IPs

If the ap is in bridge mode as per the tutorial, dnsmasq is not used. If you wish to use it, you should disable the dhcp server in the router as epoch1970 suggested and assign the interface as br0 in dnsmasq.conf. It will require additional parameters to assign the correct gateway and dns servers.
by SurferTim
Fri Sep 28, 2018 2:54 pm
Forum: Networking and servers
Topic: Wireless Access Point, No IPs
Replies: 8
Views: 1427

Re: Wireless Access Point, No IPs

wirelessplz wrote: Is it not possible to set the IPs on the bridge?
It is possible. You must assign the static IP to br0, not wlan0 or eth0.
by SurferTim
Tue Sep 25, 2018 12:28 pm
Forum: Troubleshooting
Topic: [Solved] WiFi stops working
Replies: 5
Views: 1378

Re: [Solved] WiFi stops working

Tichun wrote: There is undervolt icon when running wifi-menu program but that is all. I bet most people have undervolt icon at boot as well as I have.
That is not correct. I never have an undervolt icon.
by SurferTim
Tue Sep 25, 2018 11:59 am
Forum: Advanced users
Topic: Netflix no longer runs on Pi
Replies: 17
Views: 33795

Re: Netflix no longer runs on Pi

I tried updating to Chromium v67 and widevine, and it doesn't work right. https://snapshot.debian.org/package/chromium-browser/67.0.3396.87-1%7Edeb9u1/#chromium_67.0.3396.87-1:7e:deb9u1 I installed a pepper flash player (don't remember where I got it), and after the install, it uses way too much CPU...
by SurferTim
Mon Sep 24, 2018 9:30 pm
Forum: Advanced users
Topic: Netflix no longer runs on Pi
Replies: 17
Views: 33795

Re: Netflix no longer runs on Pi

ShiftPlusOne wrote:
Mon Sep 24, 2018 2:04 pm
When was the last time it worked for you?

Before we released the last version of chromium in apt, I tested it with a widevine.so extracted from a chromebook image and that worked.
Where did you get the widevine.so file? Can you make that available to us?
by SurferTim
Mon Sep 24, 2018 2:13 pm
Forum: Advanced users
Topic: Netflix no longer runs on Pi
Replies: 17
Views: 33795

Re: Netflix no longer runs on Pi

When was the last time it worked for you? Before we released the last version of chromium in apt, I tested it with a widevine.so extracted from a chromebook image and that worked. A few months ago. I haven't been keeping up with it. Amazon Prime stopped working a long time ago. Amazon requires Chro...
by SurferTim
Mon Sep 24, 2018 12:40 pm
Forum: Advanced users
Topic: Netflix no longer runs on Pi
Replies: 17
Views: 33795

Re: Netflix no longer runs on Pi

I have the same problem. I think Netflix is now using HTML5, and the current browser doesn't support it. I tried the same fix I used for TinkerBoard, but it doesn't work. Actually, it runs Netflix videos, but they run like a slideshow. :( The CPU usage shows 99% all the time it is trying to play. I'...
by SurferTim
Mon Sep 24, 2018 12:09 pm
Forum: Networking and servers
Topic: Wifi Ethernet shared through LAN
Replies: 5
Views: 1700

Re: Wifi Ethernet shared through LAN

Glad I could help.

I forgot to mention, but this should be obvious, that you need to connect wlan0 to an AP to get this to work.

Also, check ifconfig to ensure the correct IPs are assigned to each interface.
by SurferTim
Mon Sep 24, 2018 11:46 am
Forum: Networking and servers
Topic: Wifi Ethernet shared through LAN
Replies: 5
Views: 1700

Re: Wifi Ethernet shared through LAN

Install dnsmasq. sudo apt-get install dnsmasq Assign eth0 an IP address. Open /etc/dhcpcd.conf with a text editor and add this at the bottom. interface eth0 static ip_address=192.168.4.1/24 Save original dnsmasq.conf sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig Open /etc/dnsmasq.conf with a text...
by SurferTim
Thu Sep 20, 2018 2:10 pm
Forum: Networking and servers
Topic: Ethernet to Wifi Bridge
Replies: 7
Views: 2758

Re: Ethernet to Wifi Bridge

Are you using the IP assigned to br0 when attempting to ssh into the RPi?

Does the wlan0 or eth0 interfaces get an IP?
by SurferTim
Thu Sep 20, 2018 1:49 pm
Forum: Networking and servers
Topic: Ethernet to Wifi Bridge
Replies: 7
Views: 2758

Re: Ethernet to Wifi Bridge

Does the "sudo brctl addbr br0" command freeze?
by SurferTim
Mon Sep 17, 2018 1:01 am
Forum: Networking and servers
Topic: Raspberry Pi 3 B + as wireless AP 802.11x and freeradius
Replies: 1
Views: 4390

Re: Raspberry Pi 3 B + as wireless AP 802.11x and freeradius

I haven't tried it, but I have used radius with APs before. This looks like a fairly good guide.
https://ubuntuforums.org/showthread.php?t=151781
The hostapd.conf setup for auth_server_address and acct_server address are both good for a local radius server.
by SurferTim
Thu Sep 13, 2018 12:38 pm
Forum: Networking and servers
Topic: Network Bridge
Replies: 2
Views: 706

Re: Network Bridge

The link posted by fruitoftheloom is for a NAT network, not a bridge. The second example here is for a bridge. The first example is a standalone (NAT) AP.
https://www.raspberrypi.org/documentati ... s-point.md
by SurferTim
Mon Sep 03, 2018 11:31 pm
Forum: Networking and servers
Topic: bridge or port forward ethernet to wifi
Replies: 17
Views: 2316

Re: bridge or port forward ethernet to wifi

Do you have a masquerade on the RPis? I do. Maybe that will make a difference.

Code: Select all

sudo iptables -t nat -A  POSTROUTING -o eth0 -j MASQUERADE
by SurferTim
Mon Sep 03, 2018 9:03 pm
Forum: Networking and servers
Topic: bridge or port forward ethernet to wifi
Replies: 17
Views: 2316

Re: bridge or port forward ethernet to wifi

You can edit /etc/sysctl.conf and uncomment

Code: Select all

net.ipv4.ip_forward=1
Use sudo nano /etc/sysctl.conf
by SurferTim
Mon Sep 03, 2018 7:23 pm
Forum: Networking and servers
Topic: bridge or port forward ethernet to wifi
Replies: 17
Views: 2316

Re: bridge or port forward ethernet to wifi

I tried this and it worked. I used a RPi as the GoPro.

Code: Select all

sudo iptables -t nat -A PREROUTING -p tcp --dport 8080 -j DNAT --to-destination 10.5.5.9:80
Use http://192.168.1.6:8080
by SurferTim
Mon Sep 03, 2018 5:03 pm
Forum: Networking and servers
Topic: bridge or port forward ethernet to wifi
Replies: 17
Views: 2316

Re: bridge or port forward ethernet to wifi

Have you considered installing a web server (like Apache) on each RPi and use a iFrame to load the 10.5.5.9 page from each RPi? The RPis would not be aware of the other 10.5.5.x network on the other RPi, so they should load the correct GoPro page. You might need to use php on the web servers to acce...
by SurferTim
Thu Aug 30, 2018 6:33 pm
Forum: Networking and servers
Topic: LAMP Server only works on localhost
Replies: 1
Views: 328

Re: LAMP Server only works on localhost

When you load your home page from a remote web browser, view the page source. You can normally do that by right clicking on the page. See what URLs the links on your page are using. If it is using localnet, you haven't set up wordpress correctly. I don't use wordpress, but from my recollection, you ...
by SurferTim
Wed Aug 29, 2018 11:51 am
Forum: Networking and servers
Topic: HELP to set up squid & squidguard with a Pi3 set as AP in BRIDGE way
Replies: 3
Views: 1281

Re: HELP to set up squid & squidguard with a Pi3 set as AP in BRIDGE way

If you are setting up a bridge, then all must be relative to br0.
hostapd should use

Code: Select all

bridge=br0
Static IPs should be assigned to br0.
You shouldn't need dnsmasq. DHCP will be handled by your router.
by SurferTim
Mon Aug 27, 2018 11:41 am
Forum: Troubleshooting
Topic: raspberry pi 3 access point with internet
Replies: 20
Views: 1420

Re: raspberry pi 3 access point with internet

Yes. I use a NAT setup. It has limitations. Accessing the wifi localnet requires routing in the router.
by SurferTim
Mon Aug 27, 2018 10:44 am
Forum: Troubleshooting
Topic: raspberry pi 3 access point with internet
Replies: 20
Views: 1420

Re: raspberry pi 3 access point with internet

I'm not certain what changed with Stretch, but when you try this:

Code: Select all

brctl addif br0 wlan0 wlan1
you will get an "operation not supported" message.
by SurferTim
Mon Aug 27, 2018 1:46 am
Forum: Troubleshooting
Topic: hostapd help
Replies: 1
Views: 240

Re: hostapd help

I could not get hostapd to start on wlan1. It apparently requires the AP to be on wlan0. You can reassign interface names. Create file /etc/udev/rules.d/72-static-name.rules Add this: ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:c0:ca:96:d8:8b", KERNEL=="w*",NAME="wlan0" ACTION...
by SurferTim
Sun Aug 26, 2018 12:15 pm
Forum: Troubleshooting
Topic: raspberry pi 3 access point with internet
Replies: 20
Views: 1420

Re: raspberry pi 3 access point with internet

Your post is confusing. Did you use the standalone (NAT) or bridge setup? If you used the bridge setup, you don't need dnsmasq.

Go to advanced search