[Novalug] Re: new install of Fedora 8
Jay Hart
jhart at kevla.org
Thu Feb 28 20:58:22 EST 2008
Making progress.
By turning off Network Manager, I can now set an ip address on eth0.
All I need to do now is get DNS and a gateway set, and I think I will be able
to update system.
Jay
>> I turned that off, lets see if it helps.
>>
>> Looking through /var/log/messages, I see:
>>
>> could not load /lib/modules/2.6.23.15-137.fc8/modules.dep: Permission Denied
>>
>> the premissions (-rw-r--r--) look fine, all files owned by root. the file
>> exists.
>>
>
> And r8169 (NIC driver) will not load on startup. I can mnaually load it, then
> do ifup eth0, but two minutes later I get the DHCP stuff again. If I could
> stop that from happening, I think I could get online long enough to do a
> system package update.
>
> Jay
>
>
>> Jay
>>
>>> Really not sure but that 169 address might be avahi
>>> (http://en.wikipedia.org/wiki/Avahi_(software)
>>>
>>> avahi is for zeroconf - it uses a dhcp like protocol...
>>>
>>>
>>> Jay Hart wrote:
>>>>>> gateway 192.168.1.1
>>>>>>
>>>>>> This is as I initially set it during install, this looks good.
>>>>>>
>>>>> This look good, if your GATEWAY is 192.168.1.1?
>>>>>
>>>>>
>>>>
>>>> this is the gateway for THIS box.
>>>>
>>>>
>>>>>> /sbin/ifconfig shows this:
>>>>>>
>>>>>> ip 169.254.59.150
>>>>>> bcast 169.254.255.255
>>>>>> mask 255.255.0.0
>>>>>>
>>>>> Those are not the above configured address and in fact look like a DHCP
>>>>> client failure or leftovers.
>>>>> What is the contents of the 'inet' line when you do the following:
>>>>> /sbin/ifconfig eth0
>>>>>
>>>>>
>>>>
>>>> I agree with you that this must be some DHCP BShit leftover crap.
>>>> (E*&D*J$)
>>>>
>>>> After rebooting, and doing an 'ifconfig eth0' (fixed path to include
>>>> /sbin),
>>>> know what i got, do you know what i GOT???
>>>>
>>>> I'll tell you: 'unknown interface: No such device'
>>>>
>>>> So, I run 'ifup eth0', no errors returned
>>>>
>>>> then ran 'ifconfig eth0'
>>>>
>>>> and the inet (ip) address was 192.168.1.30
>>>>
>>>> Great, I've got my ip address, now all I have to figure out is how to get
>>>> the
>>>> interface to start on bootup. But wait, theres more (like Gensu knives),
>>>>
>>>> two minutes later do another 'ifconfig eth0', and the ip address is that
>>>> BShit
>>>> 169 address again.
>>>>
>>>> Do an 'ifdown eth0', then a 'ifup eth0', and the inet is 192.168.1.30
>>>> again,
>>>> and two minutes later, ip address reverts back to 169 again.
>>>>
>>>> So, I got two problems;
>>>>
>>>> 1. How to turn off DHCP on this interface
>>>> 2. How to get this interface to start on bootup.
>>>>
>>>> I've rebooted several times, trying to get the eth0 interface up. If I
>>>> reboot
>>>> and do a 'ifup eth0', it only comes up on DHCP (169.)
>>>>
>>>> Jay
>>>>
>>>>
>>>>>> if I ping 192.168.1.1, get network unreachable error
>>>>>>
>>>>> look like you need to do:
>>>>> # /etc/init.d/network start
>>>>> or
>>>>> /sbin/ifup eth0
>>>>>
>>>>>
>>>>>> How to fix this? I tried /sbin/ifcfg DEV del address/32
>>>>>> returned 'ip: command not found' *Doesn't like the ip address for some
>>>>>> reason.
>>>>>>
>>>>> Not sure what you are trying to do here?
>>>>> Do you really mean?
>>>>> /sbin/ifconfig eth0 up
>>>>>
>>>>> or possible{the first step of many in manually configuring an interface}
>>>>> /sbin/ifconfig eth0 192.168.1.30 up
>>>>>
>>>>>
>>>>>
>>>>>> Problem # 2:
>>>>>>
>>>>>> I want to add /sbin to the path, so that when I sudo, I can then run
>>>>>> commands
>>>>>> in /sbin. I looked around some of the files in /etc, and in the users
>>>>>> home
>>>>>> dir, but didn't see where this is being stored and run at startup.
>>>>>>
>>>>> look at the file(s):
>>>>> /etc/environment
>>>>> PATH="....."
>>>>> or
>>>>> /etc/profile
>>>>> export PATH=.........
>>>>> or
>>>>> /etc/login.defs
>>>>> ENV_SUPATH { super user's path 'root'
>>>>> ENV_PATH { normal users path
>>>>>
>>>>> OR
>>>>> Edit and adjust your users personal configure files to suit your
>>>>> likes. Which are:
>>>>> ~/.profile
>>>>> or
>>>>> ~/.bash_profile
>>>>> or
>>>>> ~/.bashrc
>>>>>
>>>>>
>>>>>> So, what file do I need to modify to add /sbin to my path?
>>>>>>
>>>>> Depends at what level you want to effect the configuration.
>>>>>
>>>>>
>>>>>> TIA, (typing this on a P.O.S. Windows box)
>>>>>>
>>>>>> Jay
>>>>>>
>>>>> Oh well we all have to "cheat" sometimes. <GRIN>
>>>>> --
>>>>> DonJr
>>>>> ............. .. ... ...^C^D
>>>>>
>>>>> _______________________________________________
>>>>> Ma-linux mailing list
>>>>> Ma-linux at calypso.tux.org
>>>>> http://calypso.tux.org/cgi-bin/mailman/listinfo/ma-linux
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Ma-linux mailing list
>>>> Ma-linux at calypso.tux.org
>>>> http://calypso.tux.org/cgi-bin/mailman/listinfo/ma-linux
>>>>
>>>
>>>
>>
>>
>>
>
>
> _______________________________________________
> Novalug mailing list
> Novalug at calypso.tux.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
>
More information about the Novalug
mailing list