rfkill - the beginning of a beautiful friendship 

1. If you want to block/unblock a single interface you have to specify it with a number:


rfkill unblock 1


And here comes a systemd unit which enables an USB Wifi dongle only:


/etc/systemd/system/rfkill-unblock-wifi.service
[Unit]
Description=RFKill-Unblock WiFi Devices
After=sys-subsystem-net-devices-wlan1.device
BindsTo=sys-subsystem-net-devices-wlan1.device


[Service]
Type=oneshot
ExecStart=/usr/sbin/rfkill unblock 1
ExecStop=
RemainAfterExit=no

[Install]
WantedBy=multi-user.target

[ hozzászólás ] [ 0 trackbackek ] permalink ( 2.9 / 19 )
Retro: ASUS mimic CX200 JTAG hacking 

Back in my university years I have had some issues with an Asus MIMIC CX200 camera. One of them got broken after a firmware upgrade so I have decided to fix it with JTAG. I have successfully got to UrJTAG to read the IDCODE of the S3C4510B, but I was unable to detect the flash. Now I know that I have had to tweak the bus driver and reveng the board a bit.

Here are some pics (shot with my Nokia 6230 in VGA res) about the trick:


Thin albanian wires were soldered directly to the pins.


Live together cry together series 100 Ohm level shifter JTAG adapter to LPT port.


I have designed an addon board to expose the CPU's intresting interfaces (2 serial, USB, JTAG)



It is fun to look back to those pictures from now. After 5 years we got to a state when it is easier and cheaper to buy a Rpi to solve the same problem rather than fixing that board...
[ hozzászólás ] ( 28 megtekintés ) [ 0 trackbackek ] permalink kapcsolódó link ( 2.9 / 193 )
VPNC connection fails after upgrading to Ubuntu 13.10 (saucy) 

My corporate VPN connection got broken after I have updated my desktop to Kubuntu 13.10.

First I have started the Networkmanager's vpnc service in debug mode:

sudo /usr/lib/NetworkManager/nm-vpnc-service --debug


When connecting to the VPN the following message had been shown at the end of the log:


S5.5 do xauth reply
[2014-01-12 09:54:00]
/usr/sbin/vpnc: server requested domain, but none set (use "Domain ..." in config or --domain


The KDE networkmanager applet do not provide input for the domain, so it had to be workarounded:

Edit the /etc/NetworkManager/system-connections/[VPN connection name]

And insert the following line under the [vpn] section:

Domain=your_domain

[ hozzászólás ] ( 9 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 199 )
Geovision GV-800(S) under Linux 

One of my friends asked me to get working a Geovision GV-800(S) DVR card with zoneminder.
According to the google results several people succeed with this subject. For e.g.:
http://siripong-computer-tips.blogspot. ... linux.html

I have installed a n Ubuntu 12.04 server, and the necessary packages. This distribution shuiips with a relatively new kernel (3.5.0) which means that the necessary bttv modules were included fine. The device had shown up fine: I had 4 v4l2 devices with 4 channels per each (Composite0-4). I have added these channels as sources to the Zoneminder but I have not been able to get image from them. After several trials I have installed XFCE and XAWTV. I have not been able to get image with that tool too, and at the channel changes I got I/O errors and the software claimed about invalid framebuffer address on startup.

As final trying I have installed a Windows XP to the box, and installed the Geovision software. The device had shown up in the device manager fine, but there were a yellow exclamation points next to the devices with Device cannot started message. I have seen that card working in different computer.

As a last trial we have decided to try to upgrade the BIOS, and that solved the problem.
[ hozzászólás ] ( 21 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 206 )
The macaddress in the /etc/udev/rules.d/70-persistent-net.rules is case sensitive 

Really!
It must have the letters in lowercase.
[ hozzászólás ] ( 2 megtekintés ) [ 0 trackbackek ] permalink ( 3.1 / 208 )

| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Következő> >>

 
számláló