![]() |
|
|||||||
| OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
How i can be 100 % sure that my computer work before the installation?
I tried NetBSD 5.1 (livecd) and the keyboard stop to function when i'm on the prompt. So i can't use it at all. Yesterday i tried even OpenBSD 5.0 (livecd) and seem ok. Which information - and using which command from the livecd - i must give you for be 100 % sure that everything work even after a real installation? If everything is ok i will remove one linux distro from my system so i can give an all disk at openbsd (6gb of an old disk ...). |
|
||||
|
If you used one of my 5.0 live media images, the OS is 5.0-release. The only difference is a modified set of rc(8) scripts.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Yes i used your livecd.
Now I've found that using the livecd I can't access the internet how to fix? |
|
||||
|
Is your network connection WiFi?
It was recently brought to my attention that because WiFi connections are not automated in my scripts, this may be an issue for those new to the OS. Wired Ethernet connections are automated, as long as the connection is physically made before booting. To enable a WiFi, DHCP connection: 1. Discover the name of the attached WiFi NIC driver: $ ifconfig This will list all of the network interfaces, including pseudo devices like lo0 and pflog0. If you have both wired and wireless NICs, look for a NIC with an associated "nwid" field -- the SSID. 2. Define your SSID to attach to, and associated security key if used: Open network: # ifconfig <nic> nwid <SSID> WPA/WPA2 with pre-shared key: # ifconfig <nic> nwid <SSID> wpakey <passphrase> WEP: # ifconfig <nic> nwid <SSID> nwkey <key> 3. Request a TCP/IP configuration from the DHCP server on your LAN: # dhclient <nic> ---- For more information, please refer to OpenBSD FAQ 6 and these man pages: ifconfig(8) and dhclient(8).
__________________
OpenBSD LiveCDs/LiveDVDs Last edited by jggimi; 22nd February 2012 at 12:05 PM. Reason: clarity |
|
|||
|
No.
It's a normal Wired Ethernet connections to my router. |
|
||||
|
During boot my script will search through the NICs looking for connected networks, and will run dhclient to attempt to obtain a TCP/IP configuration.
Possible causes for not having a valid network connection after boot: a. Not physically connecting the LAN before booting b. Not having a DHCP server on the LAN c. Not having a supported NIC. You should know if a. or b. are the reason for the trouble. As for c. ... Check the output of "ifconfig" - the pseudo NICs will be lo0, pflog0, and enc0. Do you have any other NICs shown? Check your dmesg. Look for devices which are recognized, but for which there is no driver. They are shown as "not configured". Any NICs without drivers? $ dmesg | grep 'not configured'
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
No issue using static or dinamic IP with Linux.
For type the command more easy i tried to change the layout of the keyboard #wsconsctl -w keyboard.encoding=it but seem without success. I will try to write on paper what you ask. |
|
||||
|
You can route the output of those commands to filesystems on USB or diskette, if that is easier than writing them out by hand. See OpenBSD FAQ 4.16 for an example of capturing a dmesg from the bsd.rd ramdisk installer, which would be similar.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
Mounting these filesystems if defined via MBR is fairly easy. Step 1 - use disklabel(8) to determine what partition letters have been assigned to the partitions. IDE drives are wd0, wd1, wd2... and SCSI/USB/SATA drives are sd0, sd1, sd2... For example:
# disklabel sd2 That will produce a report of the partition letters assigned by OpenBSD (virtually) for the third SCSI/USB/SATA drive. Foreign filesystems with MBR partitions will be assigned letters between "i" and "p". Partition "c" is reserved, and is always the entire drive. Step 2: Mount the desired partition. Example: # mount /dev/sd2i /mnt That will mount the "i" partition of drive sd2 as /mnt.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
One more comment:
Foreign filesystems that may be mounted read write are: FAT (12/16/32), EXT2, and EXT3 (as EXT2). These will appear in disklabel text as MSDOS and ext2fs.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Using ifconfig i have:
lo0 rc0: ethernet autoselect (10baseT half-duplex) enc0 pflog0 $ dmesg | grep 'not configured' "VIA VT6306 Firewire ..." no other message. On linux, using: $ ip addr Quote:
Perhaps if is change the dhcp is possible resolve more fast this issue. I already tried: #route add -net 162.168.1.65/24 192.168.1.1 but without success. Note: I made this new restart before you posted these new message about the use of disklabel. |
|
|||
|
Now i have make another attempt using disklabel.
So, finally, i can give you the data as seen by openbsd 5. $ dmesg | grep 'not configured' "VIA VT6306 FireWire" rev 0xc0 at pci3 dev 7 function 0 not configured I don't use it. |
|
||||
|
Excellent! Thank you!
Here is what I see, from ifconfig: Code:
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:1b:fc:6f:ec:69
priority: 0
media: Ethernet autoselect (10baseT half-duplex)
status: no carrier
Code:
re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x01: RTL8168 2 (0x3800), apic 2 int 19, address 00:1b:fc:6f:ec:69 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
__________________
OpenBSD LiveCDs/LiveDVDs Last edited by jggimi; 22nd February 2012 at 07:06 PM. Reason: improved clarity |
|
|||
|
But if this was a cable connection problem, this system should not work using any other OS.
So i think is a driver problem. If is available i can even try a current livecd (but i don't find it) on the hope that a more update driver can solve that problem. |
|
||||
|
I agree with you, this is a problem that appears to be software.
I do not have -current live media ... but the OpenBSD Project's -current install media can be used for testing. 1. Download /pub/OpenBSD/snapshots/<arch>/cd51.iso from your nearest mirror, burn to CD, and boot. 2. At the "(i)nstall, (u)pgrade, or (s)hell" prompt, type "s" and press Enter. 3. # ifconfig re0 --- If the output from ifconfig looks the same, then the problem still exists. If, however, you now show a connected Ethernet (and perhaps better than 10mbps/half-duplex), you may check to see if you can obtain a network connection: 4. # dhclient re0 -current is now about a week or two in development beyond what will be 5.1-release, expected to be available on or about 1 May 2012.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Now i tried it but i obtain the same output.
Anyway there is one thing that i don't understand, if i made, for example: #ping www.google.it Quote:
#ping www.yahoo.it Quote:
![]() What i mean, if the connection don't work, i should obtain 0 packets received and 100 % packet loss and don't this output.
|
|
||||
|
Your IPv4 TCP/IP configuration comes from DHCP -- if ping is working, you must now have a TCP/IP configuration, and the output from ifconfig must be different for re0.
You cannot still be showing "no carrier" and have no IPv4 configuration, and have a working IPv4 ping function as you've shown.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
#ifconfig -a
Quote:
# ifconfig re0 |
|
||||
|
I believe you. But I am very confused, because, in order for an IPv4 ping by domain name to function, the following must be in place:
After a "successful" ping such as you have shown, without a valid IP configuration, I would want to know:
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
I finally found the issue!
If, after the shell, i take the output from the command # ifconfig re0 before run # dhclient re0 the network give that strange result while if i take it after the run of the dhclient, i obtain the correct output. So I asked myself, why not do a new test with the livecd 5 - i used the fluxbox image - but, this time, forcing the launch of the dhclient after i already inside of fluxbox, despite, this time, everything should be automatic. And it is work! So, in the end, the issue seem inside the livecd, where strangely the dhclient seem don't be launched during the boot. $ ifconfig re0 Quote:
Quote:
Quote:
Now i' m writing from the inside of the livecd openbsd 5. Using the follow command from inside the livecd # wsconsctl keyboard.encoding=it keyboard.encoding -> it don' t give the change so was more difficult write the things, i have made some copy and past on some letters. Last edited by aleunix; 27th February 2012 at 03:15 PM. |
![]() |
| Tags |
| 64bit, install, live cd |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OpenBSD's version of the X Window System | Zyos | OpenBSD Security | 4 | 6th November 2011 11:04 PM |
| 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 07:47 AM |
| move install to new server larger hard drive (raid system) | carpman | FreeBSD General | 16 | 24th November 2009 09:57 AM |