Re: [gentoo-user] IDE recommendations for writing C?

2011-02-06 Thread Vortex 3
2011/2/5 Mark Knecht markkne...@gmail.com

 Can someone recommend a good IDE to write C code in?

 1) Something that can display multiple files in a project.

 2) Something that have some sort of version control built into it?

 3) If possible, I can compile right in the IDE.

 I've starting writing something. It's hundreds of lines long in 1 file
 and I just messed up a brace somewhere which I haven't been able to
 figure out in vi.

 Thanks,
 Mark


An option could be the Bluefish editor, if you like it. Take a look here:

http://bluefish.openoffice.nl/index.html

Cheers!


Re: [gentoo-user] how to forbid dhcp for eth0

2011-01-14 Thread Vortex 3
If your eth0 is a wired interface, you could use ifplugd[1] (on portage's
sys-apps) as mentioned on chapter 6 of the gentoo linux x86 handbook [2].
Basically, it keep the interface down while the cable is unplugged, so you
won't wait dhcp at startup. Additionally, it will bring it up when you plug
the cable (and you could execute other actions like, for example, stop the
wireless when you plug the cable). Very easy to use.

You can found some examples on /etc/conf.d/net.example

Another useful references could be [3] and [4].

[1] http://0pointer.de/lennart/projects/ifplugd/
[2]
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4chap=6#doc_chap2
[3] http://www.gentoo-wiki.info/HOWTO_Wireless_Configuration_and_Startup
[4] http://www.gentoo-wiki.info/Ifplugd

http://0pointer.de/lennart/projects/ifplugd/

2011/1/14 James L bjloc...@lockie.ca

  when i start the kernel, it wait long time to dhcp for eth0:
  eth0:dhcped 4.0.15 starting
  eth0:waiting for carrier
 
  i want to forbid dhcp,how can i do?
 
  --
  pete_doherty
 

 Look at /etc/conf.d/net.example and set a static IP for eth0 or remove
 /etc/init.d/net.eth0 (to not start the interface).






Re: [gentoo-user] config with wireless

2011-01-14 Thread Vortex 3


 ctrl_interface=/var/run/wpa_supplicant

 ctrl_interface_group=0

 ap_scan=1

 network={
 ssid=huang
 proto=WPA2
 psk=Xda111524*^
 }


This lines don't belog to the /etc/conf.d/net file, but to the
/etc/wpa_supplicant/wpa_supplicant.conf

Take a look here:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4chap=4


Re: [gentoo-user] config with wireless

2011-01-14 Thread Vortex 3
Pete,


 wpa_supplicant_wlan0=-Dmadwifi


From your previous message, your are using the madwifi driver. However,
you are executing


wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf


Where now you specify the wext driver. Maybe that's the problem (?)