Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Applications Will Not Open When Connected to WiFi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kb1lqc
n00b
n00b


Joined: 27 Sep 2010
Posts: 9

PostPosted: Sat Oct 09, 2010 4:48 pm    Post subject: Applications Will Not Open When Connected to WiFi Reply with quote

I know this is a relatively specific problem but hope someone will have any idea on how to approach fixing it. I am a student at Rochester Institute of Technology (RIT) though live off campus. Whenever I connect my Gentoo laptop to the RIT unsecure wireless network (non WPA2) I cannot open any applications. Firefox, gedit, non will open. I can however still ping websites and such. The second I turn off the wireless everything starts working again. Does anyone have any clue how to approach this?

Here is the output when I try to run gedit from terminal:

Code:
No protocol specified
No protocol specified

(gedit:932): Gtk-WARNING **: cannot open display: :0.0



Bryce
KB1LQC
Back to top
View user's profile Send private message
benneque
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2007
Posts: 134

PostPosted: Sun Oct 10, 2010 7:48 am    Post subject: Reply with quote

Answer is simple:

When you connect to WiFi: DHCP changes your hostname -> X won't work really
Back to top
View user's profile Send private message
gerdesj
l33t
l33t


Joined: 29 Sep 2005
Posts: 622
Location: Yeovil, Somerset, UK

PostPosted: Sun Oct 10, 2010 11:55 am    Post subject: Reply with quote

benneque wrote:
Answer is simple:

When you connect to WiFi: DHCP changes your hostname -> X won't work really


If that is the problem then in /etc/conf.d/net you might want to add something like this:
Code:

dhcp_wlan0="release nontp nonis nosendhost"


Check net.example for the meaning of those and adjust to suit. Change wlan0 to the name of your WiFi adapter. You can set nearly everything per SSID as well which is handy. Eg at home I have several static addresses, in the office I have something else and everywhere else it is dhcp - all on my one laptop.

Cheers
Jon
Back to top
View user's profile Send private message
kb1lqc
n00b
n00b


Joined: 27 Sep 2010
Posts: 9

PostPosted: Wed Oct 13, 2010 2:12 am    Post subject: Reply with quote

I tried using the example config but it didn't work. It's hard to test since I have to be on campus to do so and when I am, I am usually a bit to busy to dedicate time to this! Thanks for the help. Would there be anything else I should know. Links to good articles or forum posts on this issue? Thanks.



Bryce
KB1LQC
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum