Linux Corner
Join Date: Aug 2005
Location: West of EGKK
Posts: 53
Likes: 0
Received 0 Likes
on
0 Posts
Thanks Aero,
Having trawled this forum I subsequently downloaded SimplyMepis and I am running that from the CD - with mixed success. Flash is working - sorta. Video images move but the sound is terrible, to the point of being unintelligible. Will continue exploring what's available and make a decision on which flavour of OS will have the honour of driving me crazy.
Having trawled this forum I subsequently downloaded SimplyMepis and I am running that from the CD - with mixed success. Flash is working - sorta. Video images move but the sound is terrible, to the point of being unintelligible. Will continue exploring what's available and make a decision on which flavour of OS will have the honour of driving me crazy.
Join Date: Aug 2005
Location: West of EGKK
Posts: 53
Likes: 0
Received 0 Likes
on
0 Posts
Thanks, MJ.
Apologies for my prolonged absence, but Win7 arrived and just needed to be installed and tested. After all, I've been using it's ancestors all the way back to Win95 (and OS/2 before that).
What a disappointment - not only did it manage to render my newly installed Mepis system unreachable by peremptorily overwriting GRUB in the MBR, but it refuses to recognize my sound card! And I'm less than impressed by the UI. It may stay on the machine as option B - if I get really stuck, but it ain't my OS of choice.
I'll probably give Fedora a try when I stop "playing" with Mepis, which is so far ahead of Ubuntu that I've recycled the live CD as a beer mat.
Anyone want to buy a set of Win7 installation DVDs? One (fairly) careful owner, low mileage (been used once), not even registered with MS.
Apologies for my prolonged absence, but Win7 arrived and just needed to be installed and tested. After all, I've been using it's ancestors all the way back to Win95 (and OS/2 before that).
What a disappointment - not only did it manage to render my newly installed Mepis system unreachable by peremptorily overwriting GRUB in the MBR, but it refuses to recognize my sound card! And I'm less than impressed by the UI. It may stay on the machine as option B - if I get really stuck, but it ain't my OS of choice.
I'll probably give Fedora a try when I stop "playing" with Mepis, which is so far ahead of Ubuntu that I've recycled the live CD as a beer mat.
Anyone want to buy a set of Win7 installation DVDs? One (fairly) careful owner, low mileage (been used once), not even registered with MS.
a friend has passed me a CD of Ubuntu 9.10 which I am trying to run in live mode, in a Dell laptop PC. The system boots up OK but I cannot persuade it to connect to our O2 wireless router. I have been through several Unix/Ubuntu websites and tried to follow the guidance on wireless setup but I don't really understand what the info presented is supposed to tell me. I am new to Unix, as an admin, but have used it as a user some 20 years ago. Please explain in words of one syllable what I should be doing.
Any ideas anyone?
So far, I understand that the wireless network hardware is 2200 and it is being seen by the software. It makes no attempt to connect or report any available networks. I can't cut and paste stuff to here as this is a different machine (win vista) so please don't ask me to put reams of stuff from the screen on the BB.
Thanks Andrew.
Any ideas anyone?
So far, I understand that the wireless network hardware is 2200 and it is being seen by the software. It makes no attempt to connect or report any available networks. I can't cut and paste stuff to here as this is a different machine (win vista) so please don't ask me to put reams of stuff from the screen on the BB.
Thanks Andrew.
Oh Shazbat!
Join Date: Feb 2004
Location: Leeds, UK
Age: 64
Posts: 239
Likes: 0
Received 0 Likes
on
0 Posts
Rans6Andrew (excellent choice of aircraft if your name is reflective of that by the way )
I'm assuming you've seen the network manager icon at the top right of the window? If you've clicked on it, it will show you the wireless networks it can access. If network manager is doing it's job you shouldn't need to configure the wireless by hand.
If you have clicked on network manager & it tells you it can't find any networks then the wireless drivers aren't working correctly, but that would be unusual as Ubuntu 9.10 has a wide variety of wireless support.
Anyway, first question. Can Network Manager find the wireless connection at all?
I'm assuming you've seen the network manager icon at the top right of the window? If you've clicked on it, it will show you the wireless networks it can access. If network manager is doing it's job you shouldn't need to configure the wireless by hand.
If you have clicked on network manager & it tells you it can't find any networks then the wireless drivers aren't working correctly, but that would be unusual as Ubuntu 9.10 has a wide variety of wireless support.
Anyway, first question. Can Network Manager find the wireless connection at all?
Batninth, thank you for your response. I was blinded by the science and failed to notice that the radio in the Dell was OFF when I typed iwconfig. doh!
Luckily the Fn + F2 key combination worked to enable the radio and then I started to see the available network icons......
It works.
Oh, and yes, I do have a Rans S6 503, have had since 2002, been all over in it. Took Er Indoors to France in it last September. Also built a Zodiac 601ul last year, the permit didn't come through in time for the French trip.
What do you fly?
Rans6....
Luckily the Fn + F2 key combination worked to enable the radio and then I started to see the available network icons......
It works.
Oh, and yes, I do have a Rans S6 503, have had since 2002, been all over in it. Took Er Indoors to France in it last September. Also built a Zodiac 601ul last year, the permit didn't come through in time for the French trip.
What do you fly?
Rans6....
Join Date: Jun 2009
Location: Canada
Posts: 464
Likes: 0
Received 0 Likes
on
0 Posts
Oh Shazbat!
Join Date: Feb 2004
Location: Leeds, UK
Age: 64
Posts: 239
Likes: 0
Received 0 Likes
on
0 Posts
Flash. In Ubuntu you should be able to do something like 'sudo apt-get install flashplugin-installer' to install it and automatically keep it up to date
Ubuntu also goes and finds any required codecs, so the first time you go to a media file or media stream it'll take a few moments then will ask if you want it to go & get the media support. Again, I've not had any problems with this & haven't had to resort to command line since Ubuntu 7 to get media support working
BTW rans6andrew
What do you fly?
I've got a small ASUS EEE 700 loaded with Linux Xandros but I am not able to 'lock in' the c26 letter alphanumeric WPA code so I can log on painlessly without having to punch in all 26 digits each time
Anyone out there with a similar ASUS able to talk me through how to do it, preferably in the 'noddiest' of terms ?
Anyone out there with a similar ASUS able to talk me through how to do it, preferably in the 'noddiest' of terms ?
I hope you can find a fix - typing in all those characters each time is not a lot of fun on that smallish keyboard.
Regards,
FO Rudder
Join Date: Feb 2006
Location: UK
Posts: 592
Likes: 0
Received 0 Likes
on
0 Posts
Scheduling jobs without crontab?
A question further to my post about reading SMART temperature values from a remote Linux box (in my case a Western Digital MyBook World Edition II NAS - White lights not Blue light model).
Thanks to some great help I received I now have a nice script that outputs this to a semi colon delimited log file along with timestamp, a disk identifier (there are two in the NAS) and the average load for the past fifteen minutes.
16/03/2010;22:48;A;41;0.13
16/03/2010;22:48;B;41;0.13
Having for reasons of time constraints tried to avoid a science project and wanted a plug and play solution this time round, it's actually been a lot of fun learning some basic Linux.
What I now have is perfect for me to write an Excel macro to chart against, so now I want to automatically run the job every six hours. Unfortunately though WD have stripped the MyBook's BusyBox compilation to the bone and it doesn't have crontab. Of course I can install crontab, but before I do is there another easy way of scheduling my script to run on an un-expiring six hourly cycle, please?
Thanks to some great help I received I now have a nice script that outputs this to a semi colon delimited log file along with timestamp, a disk identifier (there are two in the NAS) and the average load for the past fifteen minutes.
16/03/2010;22:48;A;41;0.13
16/03/2010;22:48;B;41;0.13
Having for reasons of time constraints tried to avoid a science project and wanted a plug and play solution this time round, it's actually been a lot of fun learning some basic Linux.
What I now have is perfect for me to write an Excel macro to chart against, so now I want to automatically run the job every six hours. Unfortunately though WD have stripped the MyBook's BusyBox compilation to the bone and it doesn't have crontab. Of course I can install crontab, but before I do is there another easy way of scheduling my script to run on an un-expiring six hourly cycle, please?
Join Date: May 2001
Posts: 10,815
Likes: 0
Received 0 Likes
on
0 Posts
You can just have it running permently so to speak. But then you get into the realms of counter hangups and stalls and possible issues reasources getting locked.
Crontab is by far the best way of doing it. Its what it is designed to do. And its been doing it without much change since Unix was invented.
Crontab is by far the best way of doing it. Its what it is designed to do. And its been doing it without much change since Unix was invented.
Join Date: Feb 2006
Location: UK
Posts: 592
Likes: 0
Received 0 Likes
on
0 Posts
Scheduled jobs
An update to share how I got on in case any other PPRuNer needs to tread the same path.
First of all I ran the script found here to install both Optware and a bunch of useful features on my WD "White Lights" NAS. Included in these features wasn't just Cron itself but also a nice folder structure to allow any required executable job to be dropped in the appropriate one for the frequency required (/etc/cron.min, /etc/cron.5mins, /etc/cron.15mins, /etc/cron.30mins, /etc/cron.hourly, and so on)
I consequently have my temperature and load logging script sitting in /etc/cron.hourly and producing a new log entry every four hours thanks to a time-checking "IF" statement that I placed in the script.
Another feature included in the download was mini_sendmail so I have written another script that runs every 15 minutes and which checks if either of the two HDDS in the NAS are approaching their maximum design temperature of 55 deg C. If they are, the script connects the NAS to the mail.btinternet.com server to send me an e-mail (which I will receive wherever I am on my Blackberry).
If either of the HDD temperatures continues to climb and exceeds 55 deg C I will be sent a second mail, and if no cooling action is then taken within five minutes that results in the temperature dropping back to 55 deg C or below, the NAS will shut down.
On a scale of zero to hero I'm only just off the starting blocks but considering that a week or so ago I knew nothing about Linux other than that the NAS used a stripped down BusyBox flavour of it, I'm pleased with these practical tweaks.
BTW - I highly recommend WinSCP for connecting to a remote Linux device. It is an open source free SFTP and FTP client for Windows that also supports the legacy SCP protocol and that allows safe and simple copying of files between a local and a remote computer. It saved me MASSES of time compared to navigating around in an SSH command console.
First of all I ran the script found here to install both Optware and a bunch of useful features on my WD "White Lights" NAS. Included in these features wasn't just Cron itself but also a nice folder structure to allow any required executable job to be dropped in the appropriate one for the frequency required (/etc/cron.min, /etc/cron.5mins, /etc/cron.15mins, /etc/cron.30mins, /etc/cron.hourly, and so on)
I consequently have my temperature and load logging script sitting in /etc/cron.hourly and producing a new log entry every four hours thanks to a time-checking "IF" statement that I placed in the script.
Another feature included in the download was mini_sendmail so I have written another script that runs every 15 minutes and which checks if either of the two HDDS in the NAS are approaching their maximum design temperature of 55 deg C. If they are, the script connects the NAS to the mail.btinternet.com server to send me an e-mail (which I will receive wherever I am on my Blackberry).
If either of the HDD temperatures continues to climb and exceeds 55 deg C I will be sent a second mail, and if no cooling action is then taken within five minutes that results in the temperature dropping back to 55 deg C or below, the NAS will shut down.
On a scale of zero to hero I'm only just off the starting blocks but considering that a week or so ago I knew nothing about Linux other than that the NAS used a stripped down BusyBox flavour of it, I'm pleased with these practical tweaks.
BTW - I highly recommend WinSCP for connecting to a remote Linux device. It is an open source free SFTP and FTP client for Windows that also supports the legacy SCP protocol and that allows safe and simple copying of files between a local and a remote computer. It saved me MASSES of time compared to navigating around in an SSH command console.
Join Date: Aug 2002
Location: Earth
Posts: 3,663
Likes: 0
Received 0 Likes
on
0 Posts
XV105, you still messing around with that hack box ?
I'm very impressed by all your progress .....ready for your next project ?
It involves a copy of MRTG (also free & open source) and you having pretty little graphs of your HDD temperatures etc.
MRTG - Tobi Oetiker's MRTG - The Multi Router Traffic Grapher
I'm very impressed by all your progress .....ready for your next project ?
It involves a copy of MRTG (also free & open source) and you having pretty little graphs of your HDD temperatures etc.
MRTG - Tobi Oetiker's MRTG - The Multi Router Traffic Grapher
FORudder
Sorry for belated response, but have cracked it and the laptop connects automatically now.Having wasted much time trawling ASUS sites on the web without success I eventually dug out the manual and followed the instructions.Doh.
Regards NRU
Sorry for belated response, but have cracked it and the laptop connects automatically now.Having wasted much time trawling ASUS sites on the web without success I eventually dug out the manual and followed the instructions.Doh.
Regards NRU
Join Date: Feb 2006
Location: UK
Posts: 592
Likes: 0
Received 0 Likes
on
0 Posts
Restricting FTP folder access on Linux NAS
Cool, thanks mixture!
I will take the bait!
Before then I have a little niggle to solve though; I run Memeo Backup on each PC and laptop on the home network, each backup being written to its own folder on the NAS. Works a treat.
This evening though I installed vsftpd as a small practical project to allow me to share chosen files in a secure way and noticed that the backups were all visible to the User created for secure ftp login. Of course the reason is that the backups are all marked "public" even though they are not explicitly sub folders of the public folder.
My problem is that as soon as I remove the "public" flag, Memeo Backup of course reports "destination not found". Unfortunately it doesn't have a "username and password" option for access to the now secure folder so I can't use one of the Userids that exists on the NAS.
Suggestions for how to achieve a "internally public" and "externally public" structure on the NAS?
For info /etc/vsftpd.conf already has chroot_local_user=YES which I thought was supposed to restrict the User I have created only to the directory I want them to see.
TVM!
BTW - vsftp installed easily, needed only minor "my NAS specific" setup doing, and works a treat.
I will take the bait!
Before then I have a little niggle to solve though; I run Memeo Backup on each PC and laptop on the home network, each backup being written to its own folder on the NAS. Works a treat.
This evening though I installed vsftpd as a small practical project to allow me to share chosen files in a secure way and noticed that the backups were all visible to the User created for secure ftp login. Of course the reason is that the backups are all marked "public" even though they are not explicitly sub folders of the public folder.
My problem is that as soon as I remove the "public" flag, Memeo Backup of course reports "destination not found". Unfortunately it doesn't have a "username and password" option for access to the now secure folder so I can't use one of the Userids that exists on the NAS.
Suggestions for how to achieve a "internally public" and "externally public" structure on the NAS?
For info /etc/vsftpd.conf already has chroot_local_user=YES which I thought was supposed to restrict the User I have created only to the directory I want them to see.
TVM!
BTW - vsftp installed easily, needed only minor "my NAS specific" setup doing, and works a treat.
Last edited by The late XV105; 23rd Mar 2010 at 20:58. Reason: Added chroot_local_user=YES
Join Date: Feb 2006
Location: UK
Posts: 592
Likes: 0
Received 0 Likes
on
0 Posts
Solved!
I just learned about chroot jail and now have my FTP user securely locked inside!
/etc vsftpd.conf now contains chroot_list_enable=YES and I then created a file called /etc/vsftpd.chroot_list in which I put the Userid in question.
I just learned about chroot jail and now have my FTP user securely locked inside!
/etc vsftpd.conf now contains chroot_list_enable=YES and I then created a file called /etc/vsftpd.chroot_list in which I put the Userid in question.