You are not logged in.
I am setting up a pure openbox desktop for the first time and I dont seem to have internet when I log into pure openbox. But I do when I log into gnome. Would I have to set network-manager to start in my autostart.sh to get internet or is there another way?
Last edited by baba (2009-07-11 22:41:54)
Offline
What internet connection do you use ? wired or wifi, mobil internet or what ?
I think it's wm independant. After alt+ctrl+f1, can't it work? In last case take the commands to the /etc/rc.local to connect automatically at startup.
Offline
What internet connection do you use ? wired or wifi, mobil internet or what ?
I think it's wm independant. After alt+ctrl+f1, can't it work? In last case take the commands to the /etc/rc.local to connect automatically at startup.
I use a wireless internet connection, after i do alt+ctrl+f1 it takes me out of my wm and straight into command line. What command would I type in to make it work? This is all new territory for me:(
Offline
Read the Wireless Setup page in the wiki. My guess is Gnome is autostarting stuff for you. Openbox will only do that if you tell it to - there's a wiki page for Openbox as well.
If you want to try it manually, you don't need to go to a console (Ctrl+Alt+F1) - just use a terminal (xterm, urxvt, etc). The commands you need are iwconfig and ifconfig, and both have man pages.
Offline
I highly recommend wicd. It's a simple desktop independent wireless manager.
Download it:
pacman -S wicd
Add it to your daemons in your /etc/rc.conf (also make sure dbus is in there before it)
Run:
wicd-client -n
Tell it to automatically connect to your desired network. Then when the daemon runs (on bootup) it will connect, regardless of whether you're using gnome or not.
Last edited by Statix (2009-07-10 06:37:52)
Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.
Offline
I highly recommend wicd. It's a simple desktop independent wireless manager.
Download it:
pacman -S wicd
Add it to your daemons in your /etc/rc.conf (also make sure dbus is in there before it)
Run:
wicd-client -n
Tell it to automatically connect to your desired network. Then when the daemon runs (on bootup) it will connect, regardless of whether you're using gnome or not.
I attempted this but when I try to connect to the network while in openbox it tells me that it cannot get the IP address. Works perfectly while in Gnome though....
Last edited by baba (2009-07-10 07:06:30)
Offline
wicd is okay, but I suggest having a profile in /etc/network.d/ so you can get online with netcfg even when you're not in a graphical environment. It has saved me a lot of trouble, especially when X is broken. [1]
Network profiles are pretty easy -- take a look in /etc/network.d/examples and copy the one that most closely matches your case into /etc/network.d/<profilename>. Then all you have to do is "netcfg <profilename>". You can also start profiles automatically on boot. See the Wiki page.
[1]Actually, there is a wicd-client that doesn't require X you can use in this case, but it's simpler (in my opinion) to use netcfg.
Offline
@Trent, now with the newest version of wicd there's a curses interface (wicd-curses) to configure networks, so wicd really works without X as well :-) My argument to switch to wicd again :-)
Offline
@Trent, now with the newest version of wicd there's a curses interface (wicd-curses) to configure networks, so wicd really works without X as well :-) My argument to switch to wicd again :-)
Read my post again
Offline
How can it be simpler to use netcfg ? Netcfg is crude as it needs pre-defined profiles (so, you have to make those yourself)
wicd-curses, on the other hand, you just run it, select a network and enter a password if needed.
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
I looked at the Netcfg solution, seems to messy for me. I'd like to stick with the wicd solution just need to know how to get it to get the ip address while under openbox:D
Offline
Read my post again
*lol*, sorry! *head ~> desk* ;-)
Offline
If anyone cares I solved my problem by completely removing network manager. It seems wicd and nm were interfering with each other. Now I connect without a hitch with wicd while in openbox.
Offline
How can it be simpler to use netcfg ? Netcfg is crude as it needs pre-defined profiles (so, you have to make those yourself)
wicd-curses, on the other hand, you just run it, select a network and enter a password if needed.
/me loves wicd. <3...
Offline