Dog pic
Dog pic
I think i’m due a router upgrade at home. I’ve had a Linksys BEFSR41 running happily since my Demon days and a Linksys WRT54G for wireless & wired stuff. I also have a Linksys 8 port gigabit switch which I don’t actually use that much.Â
I’m looking in loose 1 or maybe even 2 of them if I can find something up to the job. The only trouble is that even with 8 wired ports I still don’t have any spare? I can’t even think what they all get used for ha. My desktop is still on wired as only have Wireless G. I think next natural progression would be the Linksys WRT350N as I could free up some wired ports by using the faster N protocol in a couple of my boxes. This model also has 4 wired ports but with the added bonus of them all being gigabit.
Or do I give up on what I know and go to the Dark Side and try a Belkin N1 Vision? BUT does it appeal to me purely because of the asthetics ie the fancy LCD UI?
I had strange problem with my EyeToy which meant if I plugged it in before and then booted the slug I would get the following error when I tried to start webcam
v4l2: open /dev/video0: Device or resource busy
v4l2: open /dev/video0: Device or resource busy
v4l: open /dev/video0: Device or resource busy
no grabber device available
However if I plugged it in after it had booted it worked fine. Thus I did the following….
fuser /dev/video0
/dev/video0:Â Â Â Â Â Â Â Â Â 1871m
ps -aux | grep 1871
nobody   1871 0.0 2.4  5492  732 ?       S   19:55  0:00 /usr/bin/camserv
This showed me that the software camserv was trying to access the dev. After reading this I had a ‘Ahhh now I remember moment’ i’d installed a few webcam software when I was looking for the right one amnd not removed it hence the conflict. All is working as it should now.
I only needed a simple webcam solution so I’ve used one called ‘webcam’ installed using
apt-get install webcam
this creates a config file /root/.webcamrc edit this file to suit your needs. Here’s mine for my own reference….
[grab]
      device = /dev/video0
      text = Logitech 3000 %d-%m-%Y %H:%M:%S (BST)
      fg_red = 255
      fg_green = 255
      fg_blue = 255
      width = 640
      height = 480
      delay = 30
      wait = 1
      input = usb
      norm = webcam
      rotate = 0
      top = 0
      left = 0
      bottom = -1
      right = -1
      quality = 75
      trigger = 0
      once = 0
      archive = /home/blah/archives/cam0 cam0 %d-%m-%Y %H-%M-%S.jpeg
[ftp]
      host = 127.0.0.1
      user = root
      pass = xxxx
      dir = /var/www/cams
      file = cam0.jpeg
      tmp = uploading.jpeg
      passive = 1
      debug = 0
      auto = 0
      local = 1
      ssh = 0
I’ve managed to get a couple of cams working on my slug so here’s what ones and how
Logitech Pro 3000/4000
apt-get install qc-usb-source qc-usb-utils
Logitech Quickcam Chat
module-assistant auto-install gspca
EyeToy
module-assistant auto-install ov51x-jpeg-source
Obviously it’s down to personal choice what packages you install so this list is more for personal reference than anything else. (I’ll be updating this list as and when I come across ones I need).
nano
lynx
ntpdate Run ntpdate ntp.yourtimeserver.com
rcconf
unzip
qqlite
php5-sqlite
gcc
make
As my slug projects seem to be getting more and more ambitious i’ve decided to create a new category titled ‘NSLU2’ to keep all relevant posts in.Â
More issues with the slug as it’s now decided that the one cam I want to use on it will only work after being plugged in AFTER it’s booted and refuses to work when plugged in during boot RAHHHH!!!!
I’ve been trying for nearly 2 days to get my usb mobile broadband stick working with linux. After MUCH googling it looks like i’ll need a different model to ensure compatability.