Autor |
Nachricht |
|
Titel: No internet connection
Verfasst am: 19.08.2006, 04:28 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
After my last dist-upgrade and loading on rss-gtk (which I have removed because most of the screensavers freeze the box up solid), I seem to have run into a major problem with my network. My regular IP is 192.168.7.151.
Well on my next reboot network setting set my eth0 to 169.254.124.0. I can reset it to the proper config and all I can do is look at my router, I am behind and see my M$ box through smb. They are both connected to a hub. which is then connected to the router. The M$ box can also ping the Kanotix box at the set settings, but although the M$ box can get to the net (which shows that the router is not the problem) the K box still has no connection. By the way, when I reboot, the network settings return to the 169.254.124.0 address.
I am using a 2.6.17.8-slh-up-1 KDE 3.5.4 box. I am a noobie so that I am still trying to figure out and remember(ya right) All the things I had to go through when things like this happened in the past. |
|
|
|
|
 |
|
Titel: RE: No internet connection
Verfasst am: 19.08.2006, 04:39 Uhr
|
|
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
|
|
 |
|
Titel: RE: No internet connection
Verfasst am: 19.08.2006, 04:58 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
xlib: connection to ":0.0" refused by server
xlib: Invalid MIT-MAGIC-COOKIE-1 key
xdialog: Error initializing the GUI...
Do you run under X11 with GTK+ v1.2.0+ installed?
Does this mean that I got a Confusion with gui's, and if so, how do I get out of it? I go know that I have install many games from different guis. Would that have done it? |
|
|
|
|
 |
|
Titel: RE: No internet connection
Verfasst am: 19.08.2006, 05:19 Uhr
|
|
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
Open konsole (terminal)
type
sux then password
netcardconfig
if that don't work, try as normal user
xhost local:root
or
xhost +localhost |
_________________ h2's d-u script
h2's rdiff-backup script
|
|
|
|
 |
|
Titel: RE: No internet connection
Verfasst am: 19.08.2006, 05:28 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
Since I am typing it all in from another box I missed inputting the #. I was in root when I tried the netcardconfig. When I tried $ xhost local:host got "non-network local connections being added to access control list". When I tried $ xhost +localhost got "localhost being added to access controll list". |
|
|
|
|
 |
|
Titel: RE: No internet connection
Verfasst am: 19.08.2006, 05:39 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
xdialog is working. What does it mean by nameserver? The IP given makes no sense whatsoever. |
|
|
|
|
 |
|
Titel: RE: No internet connection
Verfasst am: 19.08.2006, 05:41 Uhr
|
|
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
|
|
 |
|
Titel: RE: No internet connection
Verfasst am: 19.08.2006, 06:04 Uhr
|
|
Anmeldung: 08. Aug 2005
Beiträge: 27
|
|
the ip 169.254.124.0 is set by avahi you most likly have installed avahi-daemon or the like.
either you remove the avahi-daemon or other avahi stuff , or
# How can I tell Avahi to ignore certain network interfaces?
* Right now Avahi will make use of all suitable network interfaces, there is no configuration option to restrict the interfaces used. However, there is a trick to make sure that Avahi ignores specific interfaces: remove the MULTICAST bit from the interface flags. You can do this with ifconfig like this:
ifconfig eth1 -multicast
* Keep in mind that this might disable multicasting for other applications, too. Since only very few programs make use of multicasting this is usally not much a problem, though.
* To automatically remove the MULTICAST bit using udev on specific interfaces, add a file to /etc/udev/rules.d containing this (replace "RULE TO MATCH DEVICES" with correct rule):
ACTION=="add", SUBSYSTEM=="net", KERNEL=="RULE TO MATCH DEVICES", PROGRAM="/sbin/ifconfig %k -multicast"
like i found from http://www.avahi.org/wiki/Avah4users#FAQ |
|
|
|
|
 |
|
Titel: RE: No internet connection
Verfasst am: 19.08.2006, 07:02 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
got rid of avahi-daemon did ifconfig eth0 -multicast (had no eth1) still didn't work, but did find a reference to a non-config resolvconfig. Got rid of that ran if eth0 and ifdown eth0, and evrything is peachy. Thanx very much for pointing me in the right direction parintachin. The diff between opensource and all others is that we solve the problems now, the others blame each other a week latter |
|
|
|
|
 |
|
Titel: RE: No internet connection
Verfasst am: 19.08.2006, 08:31 Uhr
|
|
Anmeldung: 16. Aug 2004
Beiträge: 1905
|
|
Never use xhost, it's utterly insecure (no security at all) and never needed. |
|
|
|
|
 |
|
Titel: RE: No internet connection
Verfasst am: 19.08.2006, 15:54 Uhr
|
|
Anmeldung: 08. Aug 2005
Beiträge: 27
|
|
Glad i could help  |
|
|
|
|
 |
|
Titel: RE: No internet connection
Verfasst am: 19.08.2006, 17:38 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
Zitat:
Never use xhost, it's utterly insecure (no security at all) and never needed.
In this case it seemed the only work around that I could find. Also it was very temperary, because when the first option I went with (deleting avahi) didn't solve the problem, I had to run xhost again to xdialog work again to try an fix the problem. Now if there is a different way of doing it, I am sure that all would like to know. |
|
|
|
|
 |
|
Titel: RE: No internet connection
Verfasst am: 19.08.2006, 18:00 Uhr
|
|
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
Well I gave that to you basically to test for internet, it works now to find a solution, because it is NOT safe. I will see what I can come up with, in the meantime, others might have some opinions. |
_________________ h2's d-u script
h2's rdiff-backup script
|
|
|
|
 |
|