You are not logged in.

#1 2009-07-10 05:40:53

baba
Member
From: Washington
Registered: 2009-07-06
Posts: 22

[SOLVED]No internet connection while in openbox

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

#2 2009-07-10 06:02:47

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SOLVED]No internet connection while in openbox

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

#3 2009-07-10 06:10:08

baba
Member
From: Washington
Registered: 2009-07-06
Posts: 22

Re: [SOLVED]No internet connection while in openbox

djszapi wrote:

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

#4 2009-07-10 06:26:05

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED]No internet connection while in openbox

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

#5 2009-07-10 06:37:08

Statix
Member
From: Hangzhou, China
Registered: 2008-02-16
Posts: 240

Re: [SOLVED]No internet connection while in openbox

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

#6 2009-07-10 07:06:03

baba
Member
From: Washington
Registered: 2009-07-06
Posts: 22

Re: [SOLVED]No internet connection while in openbox

Statix wrote:

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

#7 2009-07-10 15:21:20

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: [SOLVED]No internet connection while in openbox

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

#8 2009-07-10 18:33:52

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [SOLVED]No internet connection while in openbox

@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

#9 2009-07-10 19:06:21

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: [SOLVED]No internet connection while in openbox

Army wrote:

@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 wink

Offline

#10 2009-07-10 19:21:33

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: [SOLVED]No internet connection while in openbox

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

#11 2009-07-10 19:27:31

baba
Member
From: Washington
Registered: 2009-07-06
Posts: 22

Re: [SOLVED]No internet connection while in openbox

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

#12 2009-07-10 21:02:27

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [SOLVED]No internet connection while in openbox

Trent wrote:

Read my post again wink

*lol*, sorry! *head ~> desk* ;-)

Offline

#13 2009-07-11 22:42:44

baba
Member
From: Washington
Registered: 2009-07-06
Posts: 22

Re: [SOLVED]No internet connection while in openbox

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

#14 2009-07-13 12:51:11

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [SOLVED]No internet connection while in openbox

moljac024 wrote:

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

Board footer

Powered by FluxBB