DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
Old 27th February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Ah! OK, I think I understand. The interface was not "up" until after dhclient was executed.

Thank you. This is a bug in my script that you have discovered. It appears there are some circumstances where an interface is not "up" during initial scans. I must change the script to mark the interface up before examining carrier status.

If I modify the script and create a test .iso - would you be willing to test it for me?
Reply With Quote
Old 27th February 2012
aleunix aleunix is offline
Real Name: Alessandro
Spam Deminer
 
Join Date: May 2008
Location: Italy
Posts: 224
Default

Sure.

Note
The only thing important is that can be burned inside a cd.
Reply With Quote
Old 27th February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

I'll create a "basic" version for you to test with -- hopefully I will have time to create an image for you tomorrow.
Reply With Quote
Old 27th February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Test .iso link sent via PM.
Reply With Quote
Old 28th February 2012
aleunix aleunix is offline
Real Name: Alessandro
Spam Deminer
 
Join Date: May 2008
Location: Italy
Posts: 224
Default

Now i tried this new iso.
During the initial launch i see clearly the network message no carrier but once i'm on Xorg the ethernet network is properly recognized. (While previously don't happen).
But remain the problem that dhclient don't run so no internet connection, so naturally the ping don't work this time.
For be sure i make even a:
ps aux | grep dhclient
this process isn't present.
While if, again, i start manually dhclient re0, then everything work fine.
Reply With Quote
Old 28th February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Thank you for testing this.

The "ifconfig $NIC up; sleep 1" I added to the script did not solve the problem. The NIC reports "no carrier" and my script excludes "no carrier" NICs from using dhclient to avoid infinite delays and the requirement to issue CTRL-C to continue.

I could make the dhclient commands background tasks ... but then, if I leave the output on the console that will cause a continuous spamming flood of messages as DHCP requests are made and time out. If I route the console elsewhere, the user will not see messages that might be important to their connectivity or security, such as connecting to the wrong DHCP server.

Thank you very much for testing this. I will have to consider how to address this issue.

I am glad you have a circumvention through manual dhclient execution.
Reply With Quote
Old 1st March 2012
aleunix aleunix is offline
Real Name: Alessandro
Spam Deminer
 
Join Date: May 2008
Location: Italy
Posts: 224
Default

Thanks for your help.
Reply With Quote
Reply

Tags
64bit, install, live cd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD's version of the X Window System Zyos OpenBSD Security 4 7th November 2011 12:04 AM
How - To install GNOME vile I install OpenBSD ? looop OpenBSD Installation and Upgrading 6 24th April 2010 08:58 PM
Criminals attempt to exploit unpatched hole in Adobe Reader J65nko News 0 17th April 2010 07:57 PM
When will be possible install BSD system on extended partitions? aleunix Off-Topic 5 15th December 2009 08:47 AM
move install to new server larger hard drive (raid system) carpman FreeBSD General 16 24th November 2009 10:57 AM


All times are GMT. The time now is 11:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick