|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
connect to internet on OpenBsd, using USB tethering
I used the same keywords, to do a search , and found something , but for FreeBsd,
and it still did not cover what I need to know. Any way, yesterday I installed OpenBsd 6.1 to my desktop PC, a Dell , "Optiflex 780". I am not sure about how to go about setting it up so that I can use the usb tethering feature on my cell phone (android), on my laptop, which has wifi it worked just fine using the wifi, but this computer has no wifi card. Besides that I would prefer using the usb tethering. Here is the "ifconfig", and "dmesg', also a screen shot, it has the information needed for "network manager", on a linux system,... I am sure the same info needs to be some where, in my openbsd files, /etc/ppp/ but not clear as to what file, I have looked at the examples in the "ppp" dir, but still am not clear on what needs to be done. Any way, here is the info: "dmesg" Code:
OpenBSD 6.1 (GENERIC.MP) #291: Sat Apr 1 13:53:41 MDT 2017 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 11<memory_size> cpu0: Intel(R) Core(TM)2 Duo CPU E8400 @ 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF,PERF,SENSOR real mem = 3180863488 (3033MB) avail mem = 3107160064 (2963MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 11/03/10, BIOS32 rev. 0 @ 0xffea0, SMBIOS rev. 2.5 @ 0xf0450 (82 entries) bios0: vendor Dell Inc. version "A06" date 11/03/2010 bios0: Dell Inc. OptiPlex 780 acpi0 at bios0: rev 2 acpi0: TCPA checksum error acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET TCPA DMAR SLIC SSDT SSDT SSDT acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI3(S5) PCI1(S5) PCI5(S5) PCI6(S5) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges cpu0: apic clock running at 332MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU E8400 @ 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF,PERF,SENSOR ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 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: C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C1(1000@1 mwait.1), PSS acpibtn0 at acpi0: VBTN "*pnp0c14" at acpi0 not configured "PNP0401" at acpi0 not configured "PNP0501" at acpi0 not configured bios0: ROM list: 0xc0000/0xc800! 0xcc800/0x2000! 0xce800/0x2800! 0xd1000/0x3000 cpu0: Enhanced SpeedStep 2993 MHz: speeds: 3000, 2667, 2333, 2000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel Q45 Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel Q45 PCIE" rev 0x03: apic 8 int 16 pci1 at ppb0 bus 1 inteldrm0 at pci0 dev 2 function 0 "Intel Q45 Video" rev 0x03 drm0 at inteldrm0 intagp0 at inteldrm0 agp0 at intagp0: aperture at 0xe0000000, size 0x10000000 inteldrm0: msi inteldrm0: 1440x900, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel Q45 Video" rev 0x03 at pci0 dev 2 function 1 not configured em0 at pci0 dev 25 function 0 "Intel ICH10 D BM LM" rev 0x02: msi, address f0:4d:a2:27:86:49 uhci0 at pci0 dev 26 function 0 "Intel 82801JD USB" rev 0x02: apic 8 int 16 uhci1 at pci0 dev 26 function 1 "Intel 82801JD USB" rev 0x02: apic 8 int 17 uhci2 at pci0 dev 26 function 2 "Intel 82801JD USB" rev 0x02: apic 8 int 22 ehci0 at pci0 dev 26 function 7 "Intel 82801JD USB" rev 0x02: apic 8 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801JD HD Audio" rev 0x02: msi azalia0: codecs: Analog Devices AD1984A audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801JD PCIE" rev 0x02: apic 8 int 16 pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 "Intel 82801JD PCIE" rev 0x02: apic 8 int 17 pci3 at ppb2 bus 3 uhci3 at pci0 dev 29 function 0 "Intel 82801JD USB" rev 0x02: apic 8 int 23 uhci4 at pci0 dev 29 function 1 "Intel 82801JD USB" rev 0x02: apic 8 int 17 uhci5 at pci0 dev 29 function 2 "Intel 82801JD USB" rev 0x02: apic 8 int 18 ehci1 at pci0 dev 29 function 7 "Intel 82801JD USB" rev 0x02: apic 8 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa2 pci4 at ppb3 bus 4 pcib0 at pci0 dev 31 function 0 "Intel 82801JDO LPC" rev 0x02 ahci0 at pci0 dev 31 function 2 "Intel 82801JD AHCI" rev 0x02: msi, AHCI 1.2 ahci0: port 0: 3.0Gb/s ahci0: port 1: 1.5Gb/s ahci0: PHY offline on port 2 ahci0: PHY offline on port 3 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, HUA721075KLA330, GK8O> SCSI3 0/direct fixed naa.5000cca215d1cacf sd0: 715404MB, 512 bytes/sector, 1465149168 sectors cd0 at scsibus1 targ 1 lun 0: <HL-DT-ST, DVD+-RW GH50N, B104> ATAPI 5/cdrom removable ichiic0 at pci0 dev 31 function 3 "Intel 82801JD SMBus" rev 0x02: apic 8 int 18 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 spdmem1 at iic0 addr 0x52: 1GB DDR3 SDRAM PC3-10600 usb2 at uhci0: USB revision 1.0 uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb6 at uhci4: USB revision 1.0 uhub6 at usb6 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb7 at uhci5: USB revision 1.0 uhub7 at usb7 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (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 vmm0 at mainbus0: VMX urndis0 at uhub1 port 1 configuration 1 interface 0 "BLU BLU DASH5.0+" rev 2.00/2.16 addr 2 urndis0: using RNDIS, address 9a:02:d9:4c:b9:15 uhidev0 at uhub2 port 2 configuration 1 interface 0 "Primax Electronics USB Optical Mouse" rev 2.00/2.00 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z and W dir wsmouse0 at ums0 mux 0 uhidev1 at uhub3 port 2 configuration 1 interface 0 "Dell Dell USB Entry Keyboard" rev 1.10/1.15 addr 2 uhidev1: iclass 3/1 ukbd0 at uhidev1: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (7c45abe08beb4c01.a) swap on sd0b dump on sd0b urndis0 detached ugen0 at uhub1 port 1 "BLU BLU DASH5.0+" rev 2.00/2.16 addr 2 umass0 at uhub1 port 2 configuration 1 interface 0 "Kingston DataTraveler 2.0" rev 2.00/1.00 addr 3 umass0: using SCSI over Bulk-Only scsibus4 at umass0: 2 targets, initiator 0 sd1 at scsibus4 targ 1 lun 0: <Kingston, DataTraveler 2.0, PMAP> SCSI2 0/direct removable serial.09306545EF105A357D6E sd1: 14891MB, 512 bytes/sector, 30497664 sectors ugen0 detached urndis0 at uhub1 port 1 configuration 1 interface 0 "BLU BLU DASH5.0+" rev 2.00/2.16 addr 2 urndis0: using RNDIS, address 56:f3:58:79:98:01 Code:
urndis0 at uhub1 port 1 configuration 1 interface 0 "BLU BLU DASH5.0+" rev 2.00/2.16 addr 2 urndis0: using RNDIS, address 56:f3:58:79:98:01 Ok and the : "ifconfig" Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768 index 3 priority 0 llprio 3 groups: lo inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr f0:4d:a2:27:86:49 index 1 priority 0 llprio 3 media: Ethernet autoselect (none) status: no carrier enc0: flags=0<> index 2 priority 0 llprio 3 groups: enc status: active vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr f0:4d:a2:27:86:49 index 5 priority 0 llprio 3 vlan: 1 parent interface: em0 vnetid: 1 parent: em0 groups: vlan status: no carrier pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33188 index 6 priority 0 llprio 3 groups: pflog urndis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 56:f3:58:79:98:01 index 7 priority 0 llprio 3 Thank you
__________________
My best friends are parrots Last edited by PapaParrot; 14th May 2017 at 05:37 AM. |
|
||||
Thanks, I can try that and see what happens.
I was just now looking at this: https://www.openbsd.org/faq/faq6.html But was not able to really understand much of it.
__________________
My best friends are parrots |
|
||||
Thanks again, yes it is working now. I am installing packages right now.
Using my laptop to reply, but in a few minuets will have a browser, and other things installed on the other. That turned out to be so simple, I was expecting it to be complicated. Thanks =====edited====update==== Great! and Hurah, I am now logged in using the new system, no more "virtual box", this is nice , the laptop with OpenBsd is ok, but my eyes are very bad and the small screen is a real pain,...On this desktop PC the screen is bigger, etc,..everything is much more comfortable.
__________________
My best friends are parrots Last edited by PapaParrot; 13th May 2017 at 08:27 PM. Reason: update |
|
||||
Thanks, yes you are right. I need / want to do that. At least now I have a browser, and editor that I am more comfortable with, I really don't like "vi" much, and have a lot of trouble with it, lack of practice I guess.
But also with the xfce4-terminal it is easy to set the fonts at "28", which is what I need to be able to read and see what I am doing, but still a lot of details now to take care of. I am not sure exactly how, Quote:
Used : set up a hostname.if(5) config to connect the interface on boot on OpenBsd And also : Code:
man hostname.if Any way, if I can not figure it out, I suppose I can ask about more details. This may sound silly, but is there anything in the "ifconfig" that I posted that could be a a security risk for me,...should I edit that and remove it ? Thanks again for the help
__________________
My best friends are parrots Last edited by PapaParrot; 14th May 2017 at 05:03 PM. |
|
||||
Quote:
For your hostname.if(5) problems, I think all you need to do is create a hostname file (named after the interface) with dhcp as the sole content: Code:
# echo dhcp > /etc/hostname.urndis0 EDIT: also, to set a larger font for the stock xterm(1) terminal emulator, add this line to either ~/.Xdefaults (parsed automatically if no X resources are set) or ~/.Xresources (must be sourced at desktop startup, most display managers use this): Code:
XTerm*vt100.faceName: monospace:size=28 Last edited by Head_on_a_Stick; 14th May 2017 at 06:17 AM. Reason: added font information. |
|
||||
Thanks, that works
Also thanks on Xterm, I actually have not tried yet on that. I do have a command line in a file I made, because I never can remember , and all I needed to do was copy/paste it in at the prompt, but it was in the old system, on the VM, and all though I have all of that on a portable USB drive, but not very "handy" yet,...I just backed up the HD, using "dd", the installed OpenBsd on the entire drive, any way I still need to go through it (the storage device) and get the files I need and use regularly. Apology, kind of rambling and drift off topic,... Any way, the hostname, with dhcp in the file works just fine, thanks, that saved me sometime reading more in the manual. ---- edit----- I guess I should have just done the "dhcp" configuration when I installed, but I did not realize or know this : Quote:
__________________
My best friends are parrots Last edited by PapaParrot; 14th May 2017 at 08:50 AM. Reason: added comment |
|
||||
No expert here, but I did review the ifconfig(8) output. No personal information was exposed. The only NIC with an address assigned was lo0, with the address 127.0.0.1. Anything sent to 127.0.0.1 never travels outside the sending computer. The same exact address is on billions of systems. The lo(4) NIC is the loopback interface, and that is the standard, default loopback address.
|
|
||||
Ok, thanks I won't worry about it then
__________________
My best friends are parrots |
|
||||
I'm also not an expert, and probably too paranoid, but in principle I like to anonymise a MAC address that might appear in dmesg or ifconfig output. The hard part is remembering to do it!
Why? Consider one scenario: The manufacturer of a device (e.g., computer, router, phone, tablet) may maintain an association between one or more MAC addresses in the device and the product serial number. This information may even be found on a label under the product or on the product carton. The vendor of the device may record an association between the product serial number and the original purchaser. In some cases, the manufacturer and the vendor may even be the same entity (e.g., Dell with its direct sales arm). So, someone with access to all of this information could then associate the MAC address with the original owner (perhap that's you!). Who might have this information? It could be someone: * working for the manufacturer/vendor; * who has cracked the manufacturer and/or vendor's systems; * from a friendly government agency. This is not to suggest that every MAC address can be associated with the device's current owner. But in some cases it seems to me it's possible. In the age of big data, they're all out to get us. They could be hiding under every rock and behind every tree. Maybe even behind rocks and under trees. See what I mean about being too paranoid? |
|
||||
The purpose of redacting Internet addresses from one's forum posts about network confirgurations is to avoid inadvertently exposing an attack surface.
That is a little bit different than MAC serial number tracking. MAC addresses include make and model of the individual peripheral device, as well as a serial number. |
|
||||
Thanks, it does not seem like I need to worry, I am going to leave it ,
so that way maybe others will have something for a example, or to compare with.
__________________
My best friends are parrots |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
new openbsd user can't connect to adsl | barti | OpenBSD Installation and Upgrading | 85 | 18th July 2012 06:32 PM |
OpenBSD slow internet? | guitarscn | OpenBSD General | 4 | 27th November 2010 05:25 PM |
connect to OpenBSD BOX with VNC | mfaridi | OpenBSD General | 9 | 14th April 2010 08:38 PM |
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 |