LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Cannot open anything after ifup'ing (https://www.linuxquestions.org/questions/linux-general-1/cannot-open-anything-after-ifuping-57092/)

zaubara 04-28-2003 01:00 AM

Cannot open anything after ifup'ing
 
Hey there,

just installed and tried Mandrake 9.1, seems nice to me ...
But as in every Linux, i first have to change the HW-adress of my ethernet interface, eth0. Normally i do this that way:

ifconfig eth0 down
ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
ifconfig eth0 up
ifup (or dhcpclient or dhcpcd - depends on what distribution i use)

Cause im too lazy to add this to the booting (I dont know how and where the interface gets upped, too) im adding those lines to /etc/rc.d/rc.local

Well, as soon as i activate my internet that way, Mandrake seems to hang up or so. Trying to start programs like GnomeICU results in nothing, no program starts correctly (except the console, dunno why)
When im trying to start GnomeICU in the console, it tells me this:


[root@localhost zaubara]# gnomeicu
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(gnomeicu:2420): Gtk-WARNING **: cannot open display:


Please note that whenever i dont activate the internet, everything works fine (except the internet, of course :D). Deactivating uses nothing ...

Thanx

Tinkster 04-28-2003 03:15 PM

It appears that -for some strange reason- your
Gnome is trying to use the physical ethernet
to talk to the X server rather than using the
loopback interface. Have you got lo up&running?
Your /etc/hosts is non-empty?

Btw, working as root is generally a BAAAAAD idea.

Cheers,
Tink


All times are GMT -5. The time now is 04:01 PM.