|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
new openbsd user can't connect to adsl
Hello,
I'm coming from Linux , centos. After getting disappointed of Linux I have installed openbsd. The first mission after install is to connect openbsd to the internet to get some things working. But, after hours of reading and trying I can't do it. With Linux I do adsl-setup adsl-start. There is no documentation and no tutorial for openbsd . It is a siemens modem C2-010 not configured as a router. I tried many configs form the internet but it seems that nothing works . Is there a general tutorial for this on the net ? Thanks. |
|
|||
Quote:
Please post the entire output of dmesg(8) so we can see what the kernel is identifying. Collateral information about the system (which may be illuminating...) will also be revealed in this output. Quote:
http://www.openbsd.org/faq/index.html Until we see what the kernel sees in the hardware, saying anything else may be premature. |
|
||||
Quote:
|
|
|||
I changed the moden to router
Hi
Thanks for the replies. I changed the modem to router so it is easy now. even this wasn't so easy. I have spent many hours trying to connect via dialer . I need to install X11 and gnome. Manuals and faq didn't help at all to me. Also with freebsd can't connect to internet. Absolute openbsd tall about dialup , no use. Thanks anyway. |
|
|||
Quote:
|
|
|||
Thanks again for the reply
The problem is that I can only use lynx for surfing.
----------------------------------------------- If X11 is installed, startx will start X with the default fvwm(1) window manager. ----------------------------------------------- I did mark the "YES" during install. How can I fix that and let gnome to go up and not fvwm? I have searched through all the /etc/rc files but found nothing. |
|
||||
Oops, you get fvwm. X is working.
You need to create a .xinitrc file in your home directory, and it should have one line containing "exec gnome-session". If you have installed the gnome-session package, gnome should launch instead of fvwm on startx. |
|
|||
dmesg
Code:
OpenBSD 5.1 (GENERIC.MP) #188: Sun Feb 12 09:55:11 MST 2012 deraadt@i386.openbsd.org:/usr/src/sy...ile/GENERIC.MP cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR real mem = 1600217088 (1526MB) avail mem = 1563922432 (1491MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/20/06, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (73 entries) bios0: vendor Dell Inc. version "A06" date 02/20/2006 bios0: Dell Inc. OptiPlex GX520 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET SSDT SSDT SSDT acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5) PCI1(S5) PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpimcfg0 at acpi0 addr 0xf0000000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 4 (PCI4) acpiprt1 at acpi0: bus 2 (PCI2) acpiprt2 at acpi0: bus 3 (PCI3) acpiprt3 at acpi0: bus 1 (PCI1) acpiprt4 at acpi0: bus -1 (PCI5) acpiprt5 at acpi0: bus -1 (PCI6) acpiprt6 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: FVS, 3000, 2800 MHz acpicpu1 at acpi0: FVS, 3000, 2800 MHz acpibtn0 at acpi0: VBTN bios0: ROM list: 0xc0000/0xa800! 0xca800/0x1800 0xcc000/0x2000! 0xce000/0x2000 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02 ppb0 at pci0 dev 1 function 0 "Intel 82945G PCIE" rev 0x02: apic 8 int 16 pci1 at ppb0 bus 1 vga1 at pci0 dev 2 function 0 "Intel 82945G Video" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xe0000000, size 0x10000000 inteldrm0 at vga1: apic 8 int 16 drm0 at inteldrm0 "Intel 82945G Video" rev 0x02 at pci0 dev 2 function 1 not configured ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 8 int 16 pci2 at ppb1 bus 2 bge0 at pci2 dev 0 function 0 "Broadcom BCM5751" rev 0x01, BCM5750 A1 (0x4001): apic 8 int 16, address 00:13:72:7c:94:4f brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 8 int 17 pci3 at ppb2 bus 3 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 8 int 21 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 8 int 22 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 8 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 8 int 23 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 8 int 21 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 pci4 at ppb3 bus 4 fxp0 at pci4 dev 0 function 0 "Intel 8255x" rev 0x0c, i82550: apic 8 int 16, address 00:02:b3:22:a8:46 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 auich0 at pci0 dev 30 function 2 "Intel 82801GB AC97" rev 0x01: apic 8 int 23, ICH7 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-RAM GH22NP20, 2.00> ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 pciide0: channel 1 ignored (disabled) pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using apic 8 int 20 for native-PCI interrupt wd0 at pciide1 channel 0 drive 1: <WDC WD800JD-75MSA1> wd0: 16-sector PIO, LBA48, 76293MB, 156250000 sectors wd0(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 6 ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: SMI iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-4200CL5 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 mtrr: Pentium Pro MTRR support uhidev0 at uhub2 port 2 configuration 1 interface 0 "LITEON Technology USB Multimedia Keyboard" rev 1.10/1.01 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub3 port 2 configuration 1 interface 0 "vendor 0x1bcf USB Optical Mouse" rev 2.00/0.10 addr 2 uhidev1: iclass 3/1, 2 report ids ums0 at uhidev1 reportid 1: 3 buttons, Z dir wsmouse0 at ums0 mux 0 uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets root on wd0a (971b1056f62026f8.a) swap on wd0b dump on wd0b Last edited by ocicat; 12th July 2012 at 11:25 AM. Reason: Please use [code] & [/code] tags when posting command output. |
|
|||
startx message
on support
at http://wiki.x.org for help. xinit: connection to X server lost # # startx.txt ksh: startx.txt: not found # startx xauth: file /root/.serverauth.30384 does not exist Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. Please consult the The X.Org Foundation support at http://wiki.x.org for help. XIO: fatal IO error 35 (Resource temporarily unavailable) on X server ":0" after 7 requests (7 known processed) with 0 events remaining. # # ========================================== How can I prevent from fvwm from start at startup ? # |
|
|||
lynx is amazing !!!
I saved the output to text files.
then with lynx login to mail account and send them. then start again with winxp can't mount 2 disks , it is dell gx 520. bios issue. |
|
|||
by the way 5.1 or 4.9
which is better ?
stable ? 5.1 4.9 ? Thanks. |
|
|||||
Quote:
Quote:
Code:
$ cd $ ln .xinitrc .xsession Quote:
Quote:
Quote:
Last edited by jggimi; 12th July 2012 at 01:41 PM. Reason: typos, clarity, replace symbolic link example with hard link example |
|
|||
Hi Barti !
Your adsl issue reminded me of my similar old woes with ueagle driver for Sagem Fast 800 (thanks Damien Bergamini !) .. then , a cheap router made my OpenBSD journey pleasurable ! I use xinit -instead of startx- to start a window manager & I always found it good to not autostart window managers nor use xdm. First login to console mode then decide.Sometimes you just love being CLI.I have the habit to use fvwm.The xinitrc is located in /etc/X11/xinit/ .. you can edit it to fit your needs .. if you want to use kde you simply do a : xinit /usr/local/bin/startkde for gnome : xinit /usr/local/bin/gnome-session (but I dropped it as the new 3 version is too heavy to use on my acer aspire ) for enlightenment : xinit /usr/local/bin/e16 (I made aliases for these++ in my .profile ) You can now stick to 5.1 stable .. later on you may decide to taste current.. -stable is a peaceful lake/river whereas -current is an outrageous stormy ocean .. :-) .. keep going ! |
|
|||
OpenBSD is the one!
Linux becomes worst then windows every day.
It reminds me also 1998 when linux was good (redhat 4.2) . I think freebsd will also get more like linux . ---------- I don't yet understand, How to make the system go up only to text mode? No window manager. What file to edit? what to write in it? ------------------------ Do you think freebsd is better to use then openbsd? I now know that security rocks in openbsd. http://en.wikipedia.org/wiki/OpenBSD_security_features Freebsd really much better in performance ? ----------------------------- I wanted to mount the windows disk but can't start the computer with 2 disks together. DELL gx520 bios issue. never mind . Thanks. Last edited by barti; 12th July 2012 at 05:56 PM. |
|
|||
barti, discussion is disjointed enough without adding unrelated topics. Your initial message primarily asked about X & Gnome. Let's limit discussion in this thread to those two topics. If you want to discuss FreeBSD, start a new thread.
Quote:
|
|
|||
It goes directly into X.
Not text mode. |
|
||||
It is not clear what this means. This could mean:
Code:
$ echo exec gnome-session > ~/.xsession Your question on mounting foreign file systems -- if that is what it was -- is probably answered in FAQ 14.16. I recommend you read FAQ 14 in its entirety, as it will provide valuable context. |
|
|||
Quote:
Code:
Only read support is enabled. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
connect to OpenBSD BOX with VNC | mfaridi | OpenBSD General | 9 | 14th April 2010 08:38 PM |
Bewan ADSL modem bewan adsl pci | pico | OpenBSD Installation and Upgrading | 2 | 2nd April 2010 05:48 AM |
How to connect Free VPN with OpenBSD | mfaridi | OpenBSD General | 19 | 9th February 2009 12:52 PM |
connect to openbsd box (ssh) | milo974 | Other BSD and UNIX/UNIX-like | 4 | 3rd January 2009 02:44 AM |
PPPoE -> ADSL Router (Bridge) - Slow connect? | DraconianTimes | OpenBSD General | 0 | 31st December 2008 01:07 PM |