Re: [gentoo-user] A couple projects on my laptop
On 09/05/06, Neil Bothwick [EMAIL PROTECTED] wrote: On Tue, 9 May 2006 11:36:42 -0400, Timothy A. Holmes wrote: when I go to shut down the laptop, the shutdown command will not work from my regular user, I have to su to be able to shutdown -- I use fluxbox, and I know this works properly in gnome/kde, I was just wondering if there was a way it could be made to work in fluxbox -- I don't mind opening a terminal and typing the command, I would, like to be able to avoid having to su though sudo would seem the obvious solution. Add shutdown to /etc/sudoers for your user, without a password, and use 'sudo shutdown...' to shutdown. Use visudo to edit /etc/sudoers, don't edit it directly. -- Neil Bothwick Just as Neil said, check the man pages for sudo and visudo (it's also well explained in the wiki: http://gentoo-wiki.com/Sudo_config ). Then add this to your flux .menu: = [exec] (Shutdown) {sudo /sbin/shutdown -h now} = -- Regards, Mick -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] A couple projects on my laptop
Timothy A. Holmes wrote: FAR more problems than im willing to go through (the shortest set of instructions ive seen so far for automount is like 3 pages) + IT Manager / Network Admin / Web Master / Computer Teacher = LOL. After this, I find quite odd you have to be root to mount a USB stick. I've never had to be root to do it. My /etc/fstab says: /dev/sdb1 /mnt/removable vfat noauto,async,user,exec 0 0 and I can mount it as a user just by clicking on its icon on Konqueror, for example. I think what you really need, however, is not automount but maybe HAL. Check in the wiki and/or docs for info, and don't run away in fear if you see some page of instruction... after all, you're using Gentoo! :) [Timothy A. Holmes] HI Thanks for the response -- I tried the additional stuff in /etc/fstab that you mentioned and when I hook up the usb drive and type /mount/sda1 /mnt/flash -- I get You must be root to mount I don't know whats up with it. I appreciate the suggestion though -- at this point, I guess its gonna take more troubleshooting time than I have to spend, so I will back burner it for a while till the workload eases up a bit -- I was hoping it was a simple setting change. I don't fear pages of instructions at all, I truly enjoy it, the problem is more the amount of time taken to execute what I want - -I have a number of really pressing problems right now that im working on, so I will fiddle with this later. TIM Timothy A. Holmes IT Manager / Network Admin / Web Master / Computer Teacher Medina Christian Academy A Higher Standard... Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] A couple projects on my laptop
My /etc/fstab says: /dev/sdb1 /mnt/removable vfat noauto,async,user,exec 0 0 and I can mount it as a user just by clicking on its icon on Konqueror, for example. I think what you really need, however, is not automount but maybe HAL. Check in the wiki and/or docs for info, and don't run away in fear if you see some page of instruction... after all, you're using Gentoo! :) Search this mailing list over the last week or so. At least three different threads asked exactly the same Q re: mounting USB CFs. Consider HAL, ivman if you want automounting of CFs and eventually decide to bother setting it up (it's not that difficult). Another thread over the last two weeks or so, explained what entries you need in your xorg.conf to manage your screen. (Hint: check man xorg.conf for Option SuspendTime, or DPMS off , etc. Also, consider setting up your /etc/hibernate/hibernate.conf if you want to do the same thing manually. Sorry, I can't help with the VPN set up. I recall reading about it in Gentoo Wiki if I'm not wrong. An equivalent to hyperterm is minicom. If you want an alternative to a telnet client (and you would rather use something more secure than telnet) then try ssh. HTH. -- Regards, Mick [Timothy A. Holmes] Hi Mick - thanks for the response - I checked into the stuff from that earlier thread, inserted the entries specified, and it did no good at all, im beginning to suspect that it is something to do with the gateway bios, as all my gateway gentoo machines do it, and none respond to the commands in xorg.conf. Thanks for the tip on minicom -- I will look into that one for sure -- I use SSH constantly, I need this connection only for switches and UPS serial port connections -- they are a last backup in case the Ethernet goes down TIM Timothy A. Holmes IT Manager / Network Admin / Web Master / Computer Teacher Medina Christian Academy A Higher Standard... Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] A couple projects on my laptop
Timothy A. Holmes wrote: Hi folks I have a couple of issues on my laptop that I would like to get wrapped up in the easiest method possible 1. Flashcards / memory sticks - Right now -- in order to mount my camera cards / thumb drives -- I have to become root -- its easy, but an annoyance - I have looked at automount and that is FAR more problems than im willing to go through (the shortest set of instructions ive seen so far for automount is like 3 pages), so if I could get it set up so that I can just do the mount commands as my user instead of having to su it would be nice Google for gentoo dbus or gentoo hal. You want three programs. Hal, D-Bus and ivman. Hal and gentoo are real easy, you basically emerge and have them start at boot. ivman is the app that listens for events and will carry out actions in a nice and easy xml file. There is a system wide config and a per-user config. You can tell it to launch totem/xine/mplayer if a DVD is inserted or mount your camera, usb key, etc. 2. Energy saver thingy - after about 10 minutes or so of inactivity, the screen shuts off under power saver -- I cant seem to find how to prevent this from happening, and could use some guidance Is it a BIOS thing? What kind of laptop? I have a new Toshiba laptop and Toshiba did away with a real BIOS for some custom one with very few settings. 3. I need a good VPN Client with easy gui - right now our school has a VPN set up on the cisco pix that works beautifully with a Microsoft VPN connection on a windows box, I need to be able to access this with my gentoo laptop as well I can't help here. I have to use a Nortel VPN client. Their Linux version just doesn't work. I paid $100 for it! My only option has been to use VMWare and vpn into work that way. I needed VMWare anyway for MS Dev stuff. I think I read somewhere that it is pretty easy to connect to ciso VPN with Linux. A quick eix search shows these ebuilds: [EMAIL PROTECTED] $ eix -Ss -c cisco [N] dev-perl/Net-Telnet-Cisco (): Automate telnet sessions w/ routersswitches [N] net-analyzer/ipcad (): IP Cisco Accounting Daemon [N] net-analyzer/ndsad (): Cisco netflow probe from libpcap, ULOG, tee/divert sources. [N] net-misc/cisco-aironet-client-utils (): Cisco Aironet Client Utilities [N] net-misc/cisco-vpnclient-3des (): Cisco VPN Client (3DES) [N] net-misc/vpnc (): Free client for Cisco VPN routing software 4. I need to be able to use a USB to Serial dongle to talk to my switches -- the adapters that I have are Triplite ones and I do have the driver disk for windows -- along with this, I need a good communications program (equivalent to hyperterm ) to use with them to talk to my switches and to my UPS I never used one. However I just compiled my kernel and there seems to be a whole bunch. Run make menuconfig and take a look at: Device Drivers - USB support - USB Serial Converter support Thanks folks - any pointers and/or suggestions are gladly welcomed [Timothy A. Holmes] Hi Jim -- thanks for the response The card mounting stuff looks good, but is gonna require more time than I have right now to spend to set it up -- I will file it for future refrence. As far as the VPN Stuff - unfortunately, this is a cisco pix 501, and from what I can tell, it doesn't use the standard protocols (sadly) I tried the cisco client on another box and it just sat there and looked at me Thanks for the tip on the kernel stuff - I'll check into it when I do my next kernel build -- (something I avoid like the plague) -- TIM Timothy A. Holmes IT Manager / Network Admin / Web Master / Computer Teacher Medina Christian Academy A Higher Standard... Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] A couple projects on my laptop
[N] net-misc/vpnc (): Free client for Cisco VPN routing software I have to say, I used vpnc on FreeBSD at my last FT gig, and it worked like a charm.. was pretty simple to set up and run, and it Just Worked. Best, --Glenn -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list Thanks Glenn - i hope it works, im not holding out a lot of home as it appears that my firewall (a pix 501) does not use standard protocols -- but maybe. :) TIM Timothy A. Holmes IT Manager / Network Admin / Web Master / Computer Teacher Medina Christian Academy A Higher Standard... Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A couple projects on my laptop
On 5/9/06, Timothy A. Holmes [EMAIL PROTECTED] wrote: Thanks for the response -- I tried the additional stuff in /etc/fstab that you mentioned and when I hook up the usb drive and type /mount/sda1 /mnt/flash -- I get You must be root to mount When the information is in /etc/fstab all you have to do is either # mount /dev/sda1 or # mount /mnt/flash If you specify both device and mount point mount will never look in the fstab file... /Andreas -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A couple projects on my laptop
On Tue, 9 May 2006 08:47:00 -0400, Timothy A. Holmes wrote: Thanks for the response -- I tried the additional stuff in /etc/fstab that you mentioned and when I hook up the usb drive and type /mount/sda1 /mnt/flash -- I get You must be root to mount If you specify both the device and the mount point, mount will use those instead of fstab, so you need to be route. if you only specify one of them, mount will get all other information from the first matching line in fstab, so your users option will be respected. -- Neil Bothwick If the cops arrest a mime, do they tell her she has the right to remain silent? signature.asc Description: PGP signature
Re: [gentoo-user] A couple projects on my laptop
On Mon, 08 May 2006 19:15:03 -0400, JimD wrote: Google for gentoo dbus or gentoo hal. You want three programs. Hal, D-Bus and ivman. Hal and gentoo are real easy, you basically emerge and have them start at boot. ivman is the app that listens for events and will carry out actions in a nice and easy xml file. If you use KDE, you don't need ivman, emerge kde-base/kdebase-kioslaves and KDE will handle removable devices automatically. This is much improved in 3.5, so upgrade if you're still running KDE 3.4. 3.5 lets you specify default actions for each type of device and whether they are executed automatically (the default is to ask first). -- Neil Bothwick Never underestimate the bandwidth of a station wagon full of tapes! signature.asc Description: PGP signature
RE: [gentoo-user] A couple projects on my laptop
On Mon, 08 May 2006 19:15:03 -0400, JimD wrote: Google for gentoo dbus or gentoo hal. You want three programs. Hal, D-Bus and ivman. Hal and gentoo are real easy, you basically emerge and have them start at boot. ivman is the app that listens for events and will carry out actions in a nice and easy xml file. If you use KDE, you don't need ivman, emerge kde-base/kdebase-kioslaves and KDE will handle removable devices automatically. This is much improved in 3.5, so upgrade if you're still running KDE 3.4. 3.5 lets you specify default actions for each type of device and whether they are executed automatically (the default is to ask first). -- Neil Bothwick Never underestimate the bandwidth of a station wagon full of tapes! [Timothy A. Holmes] Hi Neil -- I use Fluxbox, so that could be the root of several problems that I am having TIM Timothy A. Holmes IT Manager / Network Admin / Web Master / Computer Teacher Medina Christian Academy A Higher Standard... Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A couple projects on my laptop
On Monday 08 May 2006 20:48, Timothy A. Holmes wrote: I need to be able to use a USB to Serial dongle to talk to my switches -- the adapters that I have are Triplite ones and I do have the driver disk for windows -- along with this, I need a good communications program (equivalent to hyperterm ) to use with them to talk to my switches and to my UPS There are many drivers in the kernel. They've got a category among other USB devices. I'm not sure, but it may be that you have to enable serial support. You can read more under Documentation/usb/usb-serial.txt. For the terminal, I recommend net-dialup/minicom. pgpdRI0STxwh7.pgp Description: PGP signature
RE: [gentoo-user] A couple projects on my laptop
-Original Message- From: Jure Varlec [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 11:20 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] A couple projects on my laptop On Monday 08 May 2006 20:48, Timothy A. Holmes wrote: I need to be able to use a USB to Serial dongle to talk to my switches -- the adapters that I have are Triplite ones and I do have the driver disk for windows -- along with this, I need a good communications program (equivalent to hyperterm ) to use with them to talk to my switches and to my UPS There are many drivers in the kernel. They've got a category among other USB devices. I'm not sure, but it may be that you have to enable serial support. You can read more under Documentation/usb/usb-serial.txt. For the terminal, I recommend net-dialup/minicom. [Timothy A. Holmes] Ok - sounds good - -I will dig into them a bit more Timothy A. Holmes IT Manager / Network Admin / Web Master / Computer Teacher Medina Christian Academy A Higher Standard... Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] A couple projects on my laptop
One Additional Question: when I go to shut down the laptop, the shutdown command will not work from my regular user, I have to su to be able to shutdown -- I use fluxbox, and I know this works properly in gnome/kde, I was just wondering if there was a way it could be made to work in fluxbox -- I don't mind opening a terminal and typing the command, I would, like to be able to avoid having to su though TIM Timothy A. Holmes IT Manager / Network Admin / Web Master / Computer Teacher Medina Christian Academy A Higher Standard... Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A couple projects on my laptop
On Tue, 9 May 2006 11:36:42 -0400, Timothy A. Holmes wrote: when I go to shut down the laptop, the shutdown command will not work from my regular user, I have to su to be able to shutdown -- I use fluxbox, and I know this works properly in gnome/kde, I was just wondering if there was a way it could be made to work in fluxbox -- I don't mind opening a terminal and typing the command, I would, like to be able to avoid having to su though sudo would seem the obvious solution. Add shutdown to /etc/sudoers for your user, without a password, and use 'sudo shutdown...' to shutdown. Use visudo to edit /etc/sudoers, don't edit it directly. -- Neil Bothwick Three kinds of people: those who can count and those who can't. signature.asc Description: PGP signature
Re: [gentoo-user] A couple projects on my laptop
Timothy A. Holmes wrote: FAR more problems than im willing to go through (the shortest set of instructions ive seen so far for automount is like 3 pages) + IT Manager / Network Admin / Web Master / Computer Teacher = LOL. After this, I find quite odd you have to be root to mount a USB stick. I've never had to be root to do it. My /etc/fstab says: /dev/sdb1 /mnt/removable vfat noauto,async,user,exec 0 0 and I can mount it as a user just by clicking on its icon on Konqueror, for example. I think what you really need, however, is not automount but maybe HAL. Check in the wiki and/or docs for info, and don't run away in fear if you see some page of instruction... after all, you're using Gentoo! :) m. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A couple projects on my laptop
On 08/05/06, b.n. [EMAIL PROTECTED] wrote: My /etc/fstab says: /dev/sdb1 /mnt/removable vfat noauto,async,user,exec 0 0 and I can mount it as a user just by clicking on its icon on Konqueror, for example. I think what you really need, however, is not automount but maybe HAL. Check in the wiki and/or docs for info, and don't run away in fear if you see some page of instruction... after all, you're using Gentoo! :) Search this mailing list over the last week or so. At least three different threads asked exactly the same Q re: mounting USB CFs. Consider HAL, ivman if you want automounting of CFs and eventually decide to bother setting it up (it's not that difficult). Another thread over the last two weeks or so, explained what entries you need in your xorg.conf to manage your screen. (Hint: check man xorg.conf for Option SuspendTime, or DPMS off , etc. Also, consider setting up your /etc/hibernate/hibernate.conf if you want to do the same thing manually. Sorry, I can't help with the VPN set up. I recall reading about it in Gentoo Wiki if I'm not wrong. An equivalent to hyperterm is minicom. If you want an alternative to a telnet client (and you would rather use something more secure than telnet) then try ssh. HTH. -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A couple projects on my laptop
Timothy A. Holmes wrote: Hi folks I have a couple of issues on my laptop that I would like to get wrapped up in the easiest method possible 1. Flashcards / memory sticks - Right now -- in order to mount my camera cards / thumb drives -- I have to become root -- its easy, but an annoyance - I have looked at automount and that is FAR more problems than im willing to go through (the shortest set of instructions ive seen so far for automount is like 3 pages), so if I could get it set up so that I can just do the mount commands as my user instead of having to su it would be nice Google for gentoo dbus or gentoo hal. You want three programs. Hal, D-Bus and ivman. Hal and gentoo are real easy, you basically emerge and have them start at boot. ivman is the app that listens for events and will carry out actions in a nice and easy xml file. There is a system wide config and a per-user config. You can tell it to launch totem/xine/mplayer if a DVD is inserted or mount your camera, usb key, etc. 2. Energy saver thingy - after about 10 minutes or so of inactivity, the screen shuts off under power saver -- I cant seem to find how to prevent this from happening, and could use some guidance Is it a BIOS thing? What kind of laptop? I have a new Toshiba laptop and Toshiba did away with a real BIOS for some custom one with very few settings. 3. I need a good VPN Client with easy gui - right now our school has a VPN set up on the cisco pix that works beautifully with a Microsoft VPN connection on a windows box, I need to be able to access this with my gentoo laptop as well I can't help here. I have to use a Nortel VPN client. Their Linux version just doesn't work. I paid $100 for it! My only option has been to use VMWare and vpn into work that way. I needed VMWare anyway for MS Dev stuff. I think I read somewhere that it is pretty easy to connect to ciso VPN with Linux. A quick eix search shows these ebuilds: [EMAIL PROTECTED] $ eix -Ss -c cisco [N] dev-perl/Net-Telnet-Cisco (): Automate telnet sessions w/ routersswitches [N] net-analyzer/ipcad (): IP Cisco Accounting Daemon [N] net-analyzer/ndsad (): Cisco netflow probe from libpcap, ULOG, tee/divert sources. [N] net-misc/cisco-aironet-client-utils (): Cisco Aironet Client Utilities [N] net-misc/cisco-vpnclient-3des (): Cisco VPN Client (3DES) [N] net-misc/vpnc (): Free client for Cisco VPN routing software 4. I need to be able to use a USB to Serial dongle to talk to my switches -- the adapters that I have are Triplite ones and I do have the driver disk for windows -- along with this, I need a good communications program (equivalent to hyperterm ) to use with them to talk to my switches and to my UPS I never used one. However I just compiled my kernel and there seems to be a whole bunch. Run make menuconfig and take a look at: Device Drivers - USB support - USB Serial Converter support Thanks folks - any pointers and/or suggestions are gladly welcomed TIM Medina Christian Academy A Higher Standard... Jeremiah 33:3 John 3:16 Jeremiah 29:11 Esther 4:14 Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There's no place like 127.0.0.1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] A couple projects on my laptop
[N] net-misc/vpnc (): Free client for Cisco VPN routing software I have to say, I used vpnc on FreeBSD at my last FT gig, and it worked like a charm.. was pretty simple to set up and run, and it Just Worked. Best, --Glenn -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list