Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #163244 > unrolled thread
| Started by | Francis Gerund <ranrund@gmail.com> |
|---|---|
| First post | 2016-01-18 19:10 +0100 |
| Last post | 2016-01-18 20:50 +0100 |
| Articles | 8 — 4 participants |
Back to article view | Back to linux.debian.user
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Can't connect to outside world using openbox Francis Gerund <ranrund@gmail.com> - 2016-01-18 19:10 +0100
Re: Can't connect to outside world using openbox Joe <joe@jretrading.com> - 2016-01-18 20:00 +0100
Re: Can't connect to outside world using openbox Francis Gerund <ranrund@gmail.com> - 2016-01-18 21:10 +0100
Re: Can't connect to outside world using openbox Francis Gerund <ranrund@gmail.com> - 2016-01-18 21:50 +0100
Re: Can't connect to outside world using openbox Liam O'Toole <liam.p.otoole@gmail.com> - 2016-01-20 19:40 +0100
Re: Can't connect to outside world using openbox Joe <joe@jretrading.com> - 2016-01-20 20:30 +0100
Re: Can't connect to outside world using openbox Liam O'Toole <liam.p.otoole@gmail.com> - 2016-01-20 22:30 +0100
Re: Can't connect to outside world using openbox Ansgar Burchardt <ansgar@43-1.org> - 2016-01-18 20:50 +0100
| From | Francis Gerund <ranrund@gmail.com> |
|---|---|
| Date | 2016-01-18 19:10 +0100 |
| Subject | Re: Can't connect to outside world using openbox |
| Message-ID | <qSmpC-4nb-23@gated-at.bofh.it> |
. . . Okay. The problem may be with dhcp, since xfce has no problem getting to the outside world, but openbox refuses to go any further than localhost. So, does dhcp functionality need to be installed and/or set up separately for openbox? And if so, how?
[toc] | [next] | [standalone]
| From | Joe <joe@jretrading.com> |
|---|---|
| Date | 2016-01-18 20:00 +0100 |
| Message-ID | <qSnbY-4FZ-7@gated-at.bofh.it> |
| In reply to | #163244 |
On Mon, 18 Jan 2016 13:04:38 -0500 Francis Gerund <ranrund@gmail.com> wrote: > . . . Okay. > > The problem may be with dhcp, since xfce has no problem getting to the > outside world, but openbox refuses to go any further than localhost. > > So, does dhcp functionality need to be installed and/or set up > separately for openbox? > > And if so, how? > It should be present in all installations, independent of window manager. It is a dependency of several networking packages. The current package in all distributions since squeeze, I believe, is isc-dhcp-client. Does /sbin/ifconfig show the network interfaces you expect to see (i.e. not just lo)? -- Joe
[toc] | [prev] | [next] | [standalone]
| From | Francis Gerund <ranrund@gmail.com> |
|---|---|
| Date | 2016-01-18 21:10 +0100 |
| Message-ID | <qSohI-5As-17@gated-at.bofh.it> |
| In reply to | #163246 |
On 1/18/16, Joe <joe@jretrading.com> wrote:
> On Mon, 18 Jan 2016 13:04:38 -0500
> Francis Gerund <ranrund@gmail.com> wrote:
>
>> . . . Okay.
>>
>> The problem may be with dhcp, since xfce has no problem getting to the
>> outside world, but openbox refuses to go any further than localhost.
>>
>> So, does dhcp functionality need to be installed and/or set up
>> separately for openbox?
>>
>> And if so, how?
>>
>
> It should be present in all installations, independent of window
> manager. It is a dependency of several networking packages.
>
> The current package in all distributions since squeeze, I believe, is
> isc-dhcp-client.
>
> Does /sbin/ifconfig show the network interfaces you expect to see (i.e.
> not just lo)?
>
> --
> Joe
>
>
Hi, Joe.
1) isc-dhcp-client is installed. Apt-get says that it "is already
the newest version". (Debian 8 stable, 64-bit, with security, updates,
and backports, on standard x86 machine).
2) Yes, /sbin/ifconfig shows:
eth0
lo
wlan0
as expected.
Specifically,
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:216 errors:0 dropped:0 overruns:0 frame:0
TX packets:216 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15104 (14.7 KiB) TX bytes:15104 (14.7 KiB)
wlan0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: ::226:5eff:fe90:6885/64 Scope:Global
inet6 addr: fe80::226:5eff:fe90:6885/64 Scope:Link
inet6 addr: ::e452:3eab:1f59:dab3/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6442 errors:0 dropped:0 overruns:0 frame:0
TX packets:4493 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3156391 (3.0 MiB) TX bytes:851035 (831.0 KiB)
I need to connect through wlan0 (and can from xfce), which is how I
can send this email.
The problem doesn't seem to be the wireless driver, etc. In openbox I
can ping localhost (127.0.0.1), but can't ping the router or beyond,
which is why I am guessing that somehow xfce is set up for dhcp, but
openbox is not.
(btw, putting nm-applet into ~/.config/openbox/autostart did not seem
to solve the problem).
Question: maybe does ~/.config/openbox/autostart need to be owner:
root and group: root?
[toc] | [prev] | [next] | [standalone]
| From | Francis Gerund <ranrund@gmail.com> |
|---|---|
| Date | 2016-01-18 21:50 +0100 |
| Message-ID | <qSoUr-5Pk-11@gated-at.bofh.it> |
| In reply to | #163253 |
The problem is (apparently) solved! When I originally installed using xfce, it installed network-manager, which is what I have been using. Works fine. Then I added openbox to try using as a stand-alone alternative to xfce. During the original xfce install, I unchecked the option "All users may connect to this network". That worked fine under xfce. But, under openbox, networking refused to go beyond the lcoal machine. Checking the option "All users may connect to this network" causes networking to act as expected from openbox (after rebooting). Perhaps network-manager considers an alternate login (even the same actual person, from the same machine) as a different "user". I never would have thought of that. Thanks to ansgar for the suggestion. And thanks to all who replied about this! On 1/18/16, Francis Gerund <ranrund@gmail.com> wrote: > On 1/18/16, Joe <joe@jretrading.com> wrote: >> On Mon, 18 Jan 2016 13:04:38 -0500 >> Francis Gerund <ranrund@gmail.com> wrote: >> >>> . . . Okay. >>> >>> The problem may be with dhcp, since xfce has no problem getting to the >>> outside world, but openbox refuses to go any further than localhost. >>> >>> So, does dhcp functionality need to be installed and/or set up >>> separately for openbox? >>> >>> And if so, how? >>> >> >> It should be present in all installations, independent of window >> manager. It is a dependency of several networking packages. >> >> The current package in all distributions since squeeze, I believe, is >> isc-dhcp-client. >> >> Does /sbin/ifconfig show the network interfaces you expect to see (i.e. >> not just lo)? >> >> -- >> Joe >> >> > > > Hi, Joe. > > 1) isc-dhcp-client is installed. Apt-get says that it "is already > the newest version". (Debian 8 stable, 64-bit, with security, updates, > and backports, on standard x86 machine). > > 2) Yes, /sbin/ifconfig shows: > eth0 > lo > wlan0 > as expected. > > Specifically, > > eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx > UP BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:65536 Metric:1 > RX packets:216 errors:0 dropped:0 overruns:0 frame:0 > TX packets:216 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:15104 (14.7 KiB) TX bytes:15104 (14.7 KiB) > > wlan0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx > inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0 > inet6 addr: ::226:5eff:fe90:6885/64 Scope:Global > inet6 addr: fe80::226:5eff:fe90:6885/64 Scope:Link > inet6 addr: ::e452:3eab:1f59:dab3/64 Scope:Global > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:6442 errors:0 dropped:0 overruns:0 frame:0 > TX packets:4493 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:3156391 (3.0 MiB) TX bytes:851035 (831.0 KiB) > > I need to connect through wlan0 (and can from xfce), which is how I > can send this email. > > The problem doesn't seem to be the wireless driver, etc. In openbox I > can ping localhost (127.0.0.1), but can't ping the router or beyond, > which is why I am guessing that somehow xfce is set up for dhcp, but > openbox is not. > > (btw, putting nm-applet into ~/.config/openbox/autostart did not seem > to solve the problem). > > Question: maybe does ~/.config/openbox/autostart need to be owner: > root and group: root? >
[toc] | [prev] | [next] | [standalone]
| From | Liam O'Toole <liam.p.otoole@gmail.com> |
|---|---|
| Date | 2016-01-20 19:40 +0100 |
| Message-ID | <qT5PI-20h-7@gated-at.bofh.it> |
| In reply to | #163258 |
On 2016-01-18, Francis Gerund <ranrund@gmail.com> wrote: > The problem is (apparently) solved! > > When I originally installed using xfce, it installed network-manager, > which is what I have been using. Works fine. Then I added openbox to > try using as a stand-alone alternative to xfce. > > During the original xfce install, I unchecked the option "All users > may connect to this network". That worked fine under xfce. But, > under openbox, networking refused to go beyond the lcoal machine. > Checking the option "All users may connect to this network" causes > networking to act as expected from openbox (after rebooting). > > Perhaps network-manager considers an alternate login (even the same > actual person, from the same machine) as a different "user". I never > would have thought of that. Thanks to ansgar for the suggestion. > > And thanks to all who replied about this! I suspect the problem is that the network manager applet is running during your xfce session, but not in the case of openbox. That applet is required to initiate a "private" network connection. -- Liam
[toc] | [prev] | [next] | [standalone]
| From | Joe <joe@jretrading.com> |
|---|---|
| Date | 2016-01-20 20:30 +0100 |
| Message-ID | <qT6C5-2zD-9@gated-at.bofh.it> |
| In reply to | #163329 |
On Wed, 20 Jan 2016 18:29:57 +0000 (UTC) Liam O'Toole <liam.p.otoole@gmail.com> wrote: > On 2016-01-18, Francis Gerund <ranrund@gmail.com> wrote: > > The problem is (apparently) solved! > > > > When I originally installed using xfce, it installed > > network-manager, which is what I have been using. Works fine. > > Then I added openbox to try using as a stand-alone alternative to > > xfce. > > > > During the original xfce install, I unchecked the option "All users > > may connect to this network". That worked fine under xfce. But, > > under openbox, networking refused to go beyond the lcoal machine. > > Checking the option "All users may connect to this network" causes > > networking to act as expected from openbox (after rebooting). > > > > Perhaps network-manager considers an alternate login (even the same > > actual person, from the same machine) as a different "user". I > > never would have thought of that. Thanks to ansgar for the > > suggestion. > > > > And thanks to all who replied about this! > > I suspect the problem is that the network manager applet is running > during your xfce session, but not in the case of openbox. That applet > is required to initiate a "private" network connection. > Not actually required, just convenient. Now that Network Manager works, (for years it was known as 'not-work manager') I find it useful on my portables, as it provides one GUI interface for OpenVPN, 3G dongle, wifi and plain cabled Ethernet. In fact as far as OpenVPN goes, NM only handles fairly orthodox setups, such as I use. If you need to do anything a bit exotic it is of little use and you need to manually edit the config script. I don't have NM on my desktop, which manages DHCP fine without it, and did when I used to use Openbox with LXDE (I'm on Xfce with its own WM now). -- Joe
[toc] | [prev] | [next] | [standalone]
| From | Liam O'Toole <liam.p.otoole@gmail.com> |
|---|---|
| Date | 2016-01-20 22:30 +0100 |
| Message-ID | <qT8ud-3LS-9@gated-at.bofh.it> |
| In reply to | #163332 |
On 2016-01-20, Joe <joe@jretrading.com> wrote: > On Wed, 20 Jan 2016 18:29:57 +0000 (UTC) > Liam O'Toole <liam.p.otoole@gmail.com> wrote: > >> On 2016-01-18, Francis Gerund <ranrund@gmail.com> wrote: >> > The problem is (apparently) solved! >> > >> > When I originally installed using xfce, it installed >> > network-manager, which is what I have been using. Works fine. >> > Then I added openbox to try using as a stand-alone alternative to >> > xfce. >> > >> > During the original xfce install, I unchecked the option "All users >> > may connect to this network". That worked fine under xfce. But, >> > under openbox, networking refused to go beyond the lcoal machine. >> > Checking the option "All users may connect to this network" causes >> > networking to act as expected from openbox (after rebooting). >> > >> > Perhaps network-manager considers an alternate login (even the same >> > actual person, from the same machine) as a different "user". I >> > never would have thought of that. Thanks to ansgar for the >> > suggestion. >> > >> > And thanks to all who replied about this! >> >> I suspect the problem is that the network manager applet is running >> during your xfce session, but not in the case of openbox. That applet >> is required to initiate a "private" network connection. >> > > Not actually required, just convenient. [...] Can you explain how the connection is brought up, in the absence of the applet? It's not obvious to me how that event is triggered. -- Liam
[toc] | [prev] | [next] | [standalone]
| From | Ansgar Burchardt <ansgar@43-1.org> |
|---|---|
| Date | 2016-01-18 20:50 +0100 |
| Message-ID | <qSnYl-5eq-3@gated-at.bofh.it> |
| In reply to | #163244 |
Hi, Francis Gerund <ranrund@gmail.com> writes: > The problem may be with dhcp, since xfce has no problem getting to the > outside world, but openbox refuses to go any further than localhost. > > So, does dhcp functionality need to be installed and/or set up > separately for openbox? > > And if so, how? What do you use to manage your network connection? ifupdown should work regardless of the graphical interface, but NetworkManager can have either "user" or "system" connections[1]. The system connections are always available, but I'm not sure when user connections are brought up: they might require some support from the desktop environment or manual configuration. If you use NetworkManager, I suggest to make sure the connection is a "system" connection. You can do so using "nm-connection-editor" (from network-manager-gnome) or possibly other ways. In nm-connection-editor, the setting should be "All users may connect to this network" in the "General" tab. You might also want to check "Automatically connect to this network when it is available" if it is not already checked. Ansgar [1] <https://wiki.gnome.org/Projects/NetworkManager/Users#How_do_I_change_my_network_connections.3F>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web