Re: Don't know what else to do with DHCP...help??

2004-05-31 Thread hoe-waa
I think I'll leave mine as is until I or someone 
(hint, hint) comes up with the real fix. I don't 
reboot this machine very often and my script file 
seems to work fine.

If you are interested, here it is

$ cat /root/scripts/start-sk0.sh
#! /bin/sh
killall -9 dhclient
sh /etc/netstart
ifconfig -a

If I ever have to reboot, I log in as root and execute 
this script and the network comes up fine.  I then 
exit and log in as my normal user and startx. It 
was never more than an annoyance to me, so I can 
live like this.

Robert


> Yes...what I did was completely delete the hostname
> line from my /etc/rc.conf and had my
> inconfig_sk0="DHCP"
> 
> though this does seem somewhat problematic...every now
> and then I will boot up and it won't work...then I
> just reboot and all of a sudden it works *shrug*
> 
> I fogured out what was wrong with starting X and you
> will probably have the same problem when you delete
> your hostname line from your rc.conf
> 
> I googled it and found that a way to fix this problem
> isto simply delete the old .Xauthority fileI did
> that and now have my network and X back = D there
> may be (and probably is) a better way to accomplish
> this but this was just one way I found to get it to
> work...if someone has a better suggestion on how to do
> this I would be more than happy to hear about it = )
> 
> Thanks for all your help and good luck with getting
> your network to work at boot = )
> 
> Don
> --- [EMAIL PROTECTED] wrote:
> > Aloha Don
> > I am very happy I was able to help. 
> > 
> > One question for you before I answer yours. I still 
> > have to kill dhclient and netstart after a reboot.
> > 
> > Did you imply that after wiping out the hostname in 
> > rc.conf you can reboot and your dhcp is up?
> > 
> > Now for your question. I have not had any problems
> > starting x before or after. I was always redoing the
> > 
> > /stand/sysinstall to get the dhcp up and then startx
> > 
> > so that I had a network. Have you checked your
> > /etc/hosts for the correct hostname? When I did not 
> > have that set properly, I had x complaining, but not
> > just
> > a grey screen.
> > 
> > Good Luck
> > Robert
> > 
> > 
> 
> 
>   
>   
> __
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/ 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Don't know what else to do with DHCP...help??

2004-05-31 Thread Don
Yes...what I did was completely delete the hostname
line from my /etc/rc.conf and had my
inconfig_sk0="DHCP"

though this does seem somewhat problematic...every now
and then I will boot up and it won't work...then I
just reboot and all of a sudden it works *shrug*

I fogured out what was wrong with starting X and you
will probably have the same problem when you delete
your hostname line from your rc.conf

I googled it and found that a way to fix this problem
isto simply delete the old .Xauthority fileI did
that and now have my network and X back = D there
may be (and probably is) a better way to accomplish
this but this was just one way I found to get it to
work...if someone has a better suggestion on how to do
this I would be more than happy to hear about it = )

Thanks for all your help and good luck with getting
your network to work at boot = )

Don
--- [EMAIL PROTECTED] wrote:
> Aloha Don
> I am very happy I was able to help. 
> 
> One question for you before I answer yours. I still 
> have to kill dhclient and netstart after a reboot.
> 
> Did you imply that after wiping out the hostname in 
> rc.conf you can reboot and your dhcp is up?
> 
> Now for your question. I have not had any problems
> starting x before or after. I was always redoing the
> 
> /stand/sysinstall to get the dhcp up and then startx
> 
> so that I had a network. Have you checked your
> /etc/hosts for the correct hostname? When I did not 
> have that set properly, I had x complaining, but not
> just
> a grey screen.
> 
> Good Luck
> Robert
> 
> 




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Don't know what else to do with DHCP...help??

2004-05-31 Thread hoe-waa
Aloha Don
I am very happy I was able to help. 

One question for you before I answer yours. I still 
have to kill dhclient and netstart after a reboot.

Did you imply that after wiping out the hostname in 
rc.conf you can reboot and your dhcp is up?

Now for your question. I have not had any problems starting x before or after. I was 
always redoing the 
/stand/sysinstall to get the dhcp up and then startx 
so that I had a network. Have you checked your /etc/hosts for the correct hostname? 
When I did not 
have that set properly, I had x complaining, but not just
a grey screen.

Good Luck
Robert

- Original Message -
From: Don <[EMAIL PROTECTED]>
Date: Monday, May 31, 2004 11:52 am
Subject: Re: Don't know what else to do with DHCP...help??

> [EMAIL PROTECTED]
> --- [EMAIL PROTECTED] wrote:
> > Aloha
> > This sounds a whole lot like my DHCP problem. It was
> > being 
> > discussed on this list earlier last week. I have
> > attached my thread for your perusal.
> > 
> > I have the same ethernet card as you. There is a 
> > workaround in the attachment that I am using (I also
> > created a script to do it) but if someone comes up 
> > with a real fix it would be muck better.
> > 
> > Read through my attachment and see if you think we 
> > have the same problem.
> > 
> > Robert
> > 
> Thanks for the helpI killed any open dhclients and
> then did the netstartit still wasn't working until
> I took a peek at my rc.conf and deleted the hostname
> line and made sure ifconfig_sk0="DHCP" and the appends
> were deleted...I then rebooted and viola!!! it
> works
> 
> HOWEVER lol I now can't seem to get into XIt
> worked before I got my NIC working correctly and now
> when I startx it gets to the dark grey sceen where the
> pointer looks like an "X" and sits there. I'll play
> around with it some when I get back from my folks
> house but did you have that problem after you got your
> NIC working? 
> 
> Thanks again for ppinting me to your earlier
> conversation. It was a tremendous help
> 
> Don
> 
> 
>   
>   
> __
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/ 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Don't know what else to do with DHCP...help??

2004-05-31 Thread Don
[EMAIL PROTECTED]
--- [EMAIL PROTECTED] wrote:
> Aloha
> This sounds a whole lot like my DHCP problem. It was
> being 
> discussed on this list earlier last week. I have
> attached my thread for your perusal.
> 
> I have the same ethernet card as you. There is a 
> workaround in the attachment that I am using (I also
> created a script to do it) but if someone comes up 
> with a real fix it would be muck better.
> 
> Read through my attachment and see if you think we 
> have the same problem.
> 
> Robert
> 
Thanks for the helpI killed any open dhclients and
then did the netstartit still wasn't working until
I took a peek at my rc.conf and deleted the hostname
line and made sure ifconfig_sk0="DHCP" and the appends
were deleted...I then rebooted and viola!!! it
works

HOWEVER lol I now can't seem to get into XIt
worked before I got my NIC working correctly and now
when I startx it gets to the dark grey sceen where the
pointer looks like an "X" and sits there. I'll play
around with it some when I get back from my folks
house but did you have that problem after you got your
NIC working? 

Thanks again for ppinting me to your earlier
conversation. It was a tremendous help

Don




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Don't know what else to do with DHCP...help??

2004-05-31 Thread hoe-waa
Aloha
This sounds a whole lot like my DHCP problem. It was being 
discussed on this list earlier last week. I have attached my thread for your perusal.

I have the same ethernet card as you. There is a 
workaround in the attachment that I am using (I also
created a script to do it) but if someone comes up 
with a real fix it would be muck better.

Read through my attachment and see if you think we 
have the same problem.

Robert

- Original Message -
From: Don <[EMAIL PROTECTED]>
Date: Monday, May 31, 2004 1:56 am
Subject: Re: Don't know what else to do with DHCP...help??

> 
> --- Rob <[EMAIL PROTECTED]> wrote:
> > What is the last entry in /var/db/dhclient.leases ?
> > If there's something, does that make sense ?
> > 
> > Anything dhclient related in /var/log/messages ?
> > 
> > And how about running dhclient manually in the
> > foreground ?
> > As root, kill the running dhclient pid first, and
> > then start:
> > 
> > # dhclient -d rl0
> > 
> > where you should replace "rl0" by your own network
> > card.
> > Does that tell you something useful?
> > 
> > Rob.
> 
> There was nothing in the /var/db/dhclient.leases and
> the only relevant thing I found in the
> /var/log/messages was this
> 
> May 31 05:02:10  kernel: skc0: <3Com 3C940 Gigabit
> Ethernet> port 0xd800-0xd8ff mem 0xe580-0xe5803fff
> irq 18 at device 9.0 on pci0
> May 31 05:02:10  kernel: skc0: 3Com Gigabit LOM
> (3C940)
> May 31 05:02:10  kernel: sk0:  Inc. Yukon> on skc0
> May 31 05:02:10  kernel: sk0: Ethernet address:
> 00:0e:a6:46:f4:d9
> May 31 05:02:10  kernel: e1000phy0:  Gigabit PHY> on miibus0
> May 31 05:02:10  kernel: e1000phy0:  10baseT,
> 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
> auto
> 
> and
> 
> May 31 05:02:34  dhclient: Can't bind to dhcp address:
> Address already in use
> May 31 05:02:34  dhclient: Please make sure there is
> no other dhcp server
> May 31 05:02:34  dhclient: running and that there's no
> entry for dhcp or
> May 31 05:02:34  dhclient: bootp in /etc/inetd.conf.  
> Also make sure you
> May 31 05:02:34  dhclient: are not running HP JetAdmin
> software, which
> May 31 05:02:34  dhclient: includes a bootp server.
> 
> so it looks like the kernel is definitely identifying
> my NIC correctly (I guessed this seeing how I was able
> to install over FTP) but for whatever reason the
> dchlient is no longer working
> 
> I killed the dhclient pid and reran it...both as just
> "dhclient" and "dhclinet -d sk0" both times the
> computer would just sit there with nothing
> happening...no messages no nothing (I let them sit
> there for 10-15 minutes before I killed it)
> 
> Don
> 
> 
>   
>   
> __
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/ 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"


attach
Description: Binary data
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Don't know what else to do with DHCP...help??

2004-05-31 Thread Warren Block
On Mon, 31 May 2004, Don wrote:
There was nothing in the /var/db/dhclient.leases and
the only relevant thing I found in the
/var/log/messages was this
May 31 05:02:10  kernel: skc0: <3Com 3C940 Gigabit
Ethernet> port 0xd800-0xd8ff mem 0xe580-0xe5803fff
irq 18 at device 9.0 on pci0
May 31 05:02:10  kernel: skc0: 3Com Gigabit LOM
(3C940)
May 31 05:02:10  kernel: sk0:  on skc0
May 31 05:02:10  kernel: sk0: Ethernet address:
00:0e:a6:46:f4:d9
May 31 05:02:10  kernel: e1000phy0:  on miibus0
May 31 05:02:10  kernel: e1000phy0:  10baseT,
10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
auto
You don't say what is plugged into the sk0 interface, but my first 
reaction is that there are probably very few gigabit cable modems, and 
turning off the autonegotiate feature may help.  10baseT is probably the 
appropriate media setting, but it depends on the device.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Don't know what else to do with DHCP...help??

2004-05-31 Thread David Daugherty
> [mailto:[EMAIL PROTECTED] On Behalf Of Don
> Sent: Monday, May 31, 2004 5:09 AM
> To: [EMAIL PROTECTED]
> Subject: Don't know what else to do with DHCP...help??

> when booting there is a long pause when the dhclient 
> startsmy guess is it is querying the server for the dhcp 
> info. however once it comes back up it shows me as having 
> BROADCAST of 255.255.255.255 and nothing I have done has 
> enabled me to fix it.
Just a shot in the dark on my part, but if you're trying to install with a
cable modem try power cycling the modem. I had a similar problem when
switched out my NICs. It would hang for about 1-2 minutes on the dhclient
part of the boot then not give me an IP.

---
|> /\ \/ @

[EMAIL PROTECTED]
DataSphere - Databases, back end web programming and networking
317.536.1858
ICQ: 21106703

"The only thing necessary for evil to triumph is for good men to do
nothing."
- Edmund Burke 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Don't know what else to do with DHCP...help??

2004-05-31 Thread Don

--- Rob <[EMAIL PROTECTED]> wrote:
> What is the last entry in /var/db/dhclient.leases ?
> If there's something, does that make sense ?
> 
> Anything dhclient related in /var/log/messages ?
> 
> And how about running dhclient manually in the
> foreground ?
> As root, kill the running dhclient pid first, and
> then start:
> 
> # dhclient -d rl0
> 
> where you should replace "rl0" by your own network
> card.
> Does that tell you something useful?
> 
> Rob.

There was nothing in the /var/db/dhclient.leases and
the only relevant thing I found in the
/var/log/messages was this

May 31 05:02:10  kernel: skc0: <3Com 3C940 Gigabit
Ethernet> port 0xd800-0xd8ff mem 0xe580-0xe5803fff
irq 18 at device 9.0 on pci0
May 31 05:02:10  kernel: skc0: 3Com Gigabit LOM
(3C940)
May 31 05:02:10  kernel: sk0:  on skc0
May 31 05:02:10  kernel: sk0: Ethernet address:
00:0e:a6:46:f4:d9
May 31 05:02:10  kernel: e1000phy0:  on miibus0
May 31 05:02:10  kernel: e1000phy0:  10baseT,
10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
auto

and

May 31 05:02:34  dhclient: Can't bind to dhcp address:
Address already in use
May 31 05:02:34  dhclient: Please make sure there is
no other dhcp server
May 31 05:02:34  dhclient: running and that there's no
entry for dhcp or
May 31 05:02:34  dhclient: bootp in /etc/inetd.conf.  
Also make sure you
May 31 05:02:34  dhclient: are not running HP JetAdmin
software, which
May 31 05:02:34  dhclient: includes a bootp server.

so it looks like the kernel is definitely identifying
my NIC correctly (I guessed this seeing how I was able
to install over FTP) but for whatever reason the
dchlient is no longer working

I killed the dhclient pid and reran it...both as just
"dhclient" and "dhclinet -d sk0" both times the
computer would just sit there with nothing
happening...no messages no nothing (I let them sit
there for 10-15 minutes before I killed it)

Don




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Don't know what else to do with DHCP...help??

2004-05-31 Thread Rob
When I went to install everything worked just fine...I
even installed over FTP...I chose my NIC and did
automatic DHCP configuration. It worked like a
charm... however my extacsy was to be shortlived..
when booting there is a long pause when the dhclient
startsmy guess is it is querying the server for
the dhcp info. however once it comes back up it shows
me as having BROADCAST of 255.255.255.255 and nothing
I have done has enabled me to fix it.
What is the last entry in /var/db/dhclient.leases ?
If there's something, does that make sense ?
Anything dhclient related in /var/log/messages ?
And how about running dhclient manually in the foreground ?
As root, kill the running dhclient pid first, and then start:
   # dhclient -d rl0
where you should replace "rl0" by your own network card.
Does that tell you something useful?
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"