Go to advanced search

by sparkie777
Fri Dec 01, 2017 1:11 pm
Forum: Networking and servers
Topic: [HOWTO] assign predictable WLAN device names without fiddling with MAC addrs
Replies: 16
Views: 6983

[HOWTO] assign predictable WLAN device names without fiddling with MAC addrs

If there are several WLAN NICs in use at the same time in your raspberry you must find a way to uniquely identify them. Common practice for this appears to be activation of that so called systemd-predictable mechanism. At the expense of adapting configuration files each time you use another WLAN ada...
by sparkie777
Fri Dec 01, 2017 6:38 am
Forum: Troubleshooting
Topic: When are Predictable Network Interface Names Assigned? - Stretch
Replies: 19
Views: 12144

Re: When are Predictable Network Interface Names Assigned? - Stretch

Predictable names uses the device MAC to create the name the software sees. That means I can have a single /etc/dhcpcd.conf file that's common to all 14 of my raspberries. how can that be? A single /etc/dhcpcd.conf file common to all 14 of your raspberries would imply 14 raspberries with identical ...
by sparkie777
Thu Nov 30, 2017 8:09 pm
Forum: Troubleshooting
Topic: predictable interface names failing in Stretch
Replies: 32
Views: 11380

Re: predictable interface names failing in Stretch

however if you do a soft reset (sudo reboot) the interfaces sometimes come up reversed (onboard = wlan1). This happens even with predictable names (i.e onboard = wlan1, usb = wlx... rather than onboard =wlan0, usb = wlx...). 1. just switch off (if not done already) the so called 'predictable' stuff...
by sparkie777
Thu Nov 30, 2017 8:02 pm
Forum: Deutsch
Topic: Wlan0 und Wlan1 festlegen
Replies: 3
Views: 2827

Re: Wlan0 und Wlan1 festlegen

1. Link anlegen (wenn nicht schon vorhanden) ln -s /dev/null /etc/systemd/network/99-default.link 2. File anlegen /etc/udev/rules.d/72-static-name.rules: ACTION=="add", SUBSYSTEM=="net", DRIVERS=="brcmfmac", NAME="wlan1" damit wird das onboard wlan immer zu wlan1 und das USB dongle zu wlan0. siehe a...
by sparkie777
Thu Nov 30, 2017 6:09 am
Forum: Raspbian
Topic: (Solved) unable to install 'libX11-dev' on new Stretch install
Replies: 3
Views: 2641

Re: unable to install 'libX11-dev' on new Stretch install

before the install, you issued:

Code: Select all

sudo apt update
right?
by sparkie777
Thu Nov 30, 2017 4:26 am
Forum: Raspbian
Topic: How do you force a wifi interface to be a certain wlanX?
Replies: 41
Views: 12560

Re: How do you force a wifi interface to be a certain wlanX?

@JacoFourie: if you don't want to use MAC addresses (because they are too specific) you could setup a file with a more generous rule specification (probably sufficient in your case): /etc/udev/rules.d/72-static-name.rules ACTION=="add", SUBSYSTEM=="net", DRIVERS=="brcmfmac", NAME="wlan1" this allows...
by sparkie777
Wed Nov 29, 2017 2:26 pm
Forum: Raspbian
Topic: How do you force a wifi interface to be a certain wlanX?
Replies: 41
Views: 12560

Re: How do you force a wifi interface to be a certain wlanX?

there exist methods to distinguish interfaces other than by their MAC address. E.g. relying on the vendor could help in your case. You have to look further. I haven't dealt with that since I switch off predictable stuff all the time.
by sparkie777
Wed Nov 29, 2017 1:04 pm
Forum: Raspbian
Topic: How do you force a wifi interface to be a certain wlanX?
Replies: 41
Views: 12560

Re: How do you force a wifi interface to be a certain wlanX?

in that case the easiest thing to do to apply step 1.) of above and

2. simply uninstall the Broadcom 802.11 wireless firmware (as you don't need it anyway):

Code: Select all

apt purge firmware-brcm80211
this will leave 'wlan0' (provided by your dongle) alone on your machine and you are done:-)
by sparkie777
Wed Nov 29, 2017 12:28 pm
Forum: Raspbian
Topic: How do you force a wifi interface to be a certain wlanX?
Replies: 41
Views: 12560

Re: How do you force a wifi interface to be a certain wlanX?

yes, you can name it that way
by sparkie777
Wed Nov 29, 2017 12:16 pm
Forum: Raspbian
Topic: How do you force a wifi interface to be a certain wlanX?
Replies: 41
Views: 12560

Re: How do you force a wifi interface to be a certain wlanX?

@JacoFourie: I don't understand what you mean. Arbitrary names are allowed for this file as long as it (for practical reasons) starts with '72-' and ends with '.rules' @ShiftPlusOne: I'm not talking about Rasperries only. The systemd-naming scheme is totally unpredictable unless you know the motherb...
by sparkie777
Wed Nov 29, 2017 12:08 pm
Forum: Raspbian
Topic: How do you force a wifi interface to be a certain wlanX?
Replies: 41
Views: 12560

Re: How do you force a wifi interface to be a certain wlanX?

correct.

of course 2.) is advisable only if there are multiple interfaces of the same kind in use at the same time.
by sparkie777
Wed Nov 29, 2017 11:05 am
Forum: Raspbian
Topic: How do you force a wifi interface to be a certain wlanX?
Replies: 41
Views: 12560

Re: How do you force a wifi interface to be a certain wlanX?

there are 2 things to do: 1. switch off this 'predictable naming' crap. all it really does is to give unpredictable names unless you once had a chance to see the given interface names on a booted system. if you want back predictable names like eth0, eth1, wlan0, wlan1, wlan2 just do: ln -s /dev/null...
by sparkie777
Wed Nov 29, 2017 10:38 am
Forum: General discussion
Topic: open root terminal directly
Replies: 21
Views: 2990

Re: open root terminal directly

you want instant console root access without giving username/passwd? a possible solution is to patch the file '/lib/systemd/system/getty@.service' like this: $ diff -u getty@.service.org getty@.service --- getty@.service.org 2017-07-05 22:31:25.000000000 +0200 +++ getty@.service 2017-11-29 11:35:00....
by sparkie777
Sun Jun 05, 2016 6:03 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 558
Views: 468887

Re: Official V4L2 driver

undertakerPi wrote:I spend almost 2 days with searching for tools for live-stream from raspberry pi.
just use raspivid+mplayer and enjoy
Post
by sparkie777
Thu Jun 02, 2016 12:12 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 558
Views: 468887

Re: Official V4L2 driver

it's unbelievable, auto brightness now works with my standard motion in 1920x1080! I now also know why my previous tests some weeks ago did fail. There is a install option in my modprobe.d: install bcm2835-v4l2 /sbin/modprobe -i bcm2835-v4l2 && /usr/bin/v4l2-ctl --set-ctrl=rotate=180 I had to write ...
by sparkie777
Thu Jun 02, 2016 11:37 am
Forum: Camera board
Topic: Official V4L2 driver
Replies: 558
Views: 468887

Re: Auto exposure fails when res != 640x480 with Motion

Set the module parameters max_video_width and max_video_height to 2592 and 1944 respectively when loading bcm2835-v4l2, and it'll treat all captures as video mode. Great! I thought I once already tested this (but with no success) after reading this thread: Raspberry Pi • View topic - Captured frame...
by sparkie777
Thu Jun 02, 2016 10:31 am
Forum: Camera board
Topic: Official V4L2 driver
Replies: 558
Views: 468887

Re: Auto exposure fails when res != 640x480 with Motion

Using standard Motion with the /dev/video0 device and width/height of 640x480, autoexposure works perfectly. very interesting to hear that standard Motion with v4l2-auto_brightness works at all for any resolution. I tested with 1920x1080 only yet and as you say auto_brightness of v4l2 appears to wo...
by sparkie777
Fri Apr 22, 2016 3:35 pm
Forum: Camera board
Topic: "live" view with 15 second delay
Replies: 17
Views: 4805

Re: "live" view with 15 second delay

this works with a nice delay at first (better than with a network stream), but unfortunately omxplayer catches up after while and then the delay is gone. I use 'mbuffer' and 'mplayer' for that. Just watch the output of 'mbuffer' and/or raspivid OSD to keep track of the desired delay. The replay spe...
by sparkie777
Mon Apr 11, 2016 1:25 am
Forum: Camera board
Topic: Official V4L2 driver
Replies: 558
Views: 468887

Re: Official V4L2 driver

View with mplayer on a linux pc nc 192.168.1.144 8554 | mplayer -fps 30 -cache 1024 - no need for 'nc' there. Mplayer can read the stream directly. As a welcome side effect this avoids fiddling with mplayer -cache size argument. My favorite: camera server: raspivid -v -n -fps 30 -ih -t 0 -o - | nc ...
by sparkie777
Sat Mar 19, 2016 7:54 pm
Forum: General discussion
Topic: Raspberry Pi 3 no wifi
Replies: 49
Views: 131096

Re: Raspberry Pi 3 no wifi

I also had the problem "no wifi at all" i.e. 'ifconfig -a' didn't even show 'wlan0'.

What helped me was to simply install 'firmware-brcm80211'.

Works great now :-)
by sparkie777
Wed Dec 23, 2015 3:38 am
Forum: Networking and servers
Topic: Any chance you can setup Skype? Or other...
Replies: 11
Views: 7714

Re: Any chance you can setup Skype? Or other...

IMHO the best VoIP client phone software ever for raspberry is the plain console interface of asterisk:

http://stackoverflow.com/questions/2943 ... 0#34428120

Go to advanced search