Unix OS
--
Questions
--
Followers
Top Experts
ifconfig em1 169.237.245.155 255.255.255.240
the system returned:
SIOCGIFFLAGS: Device not configured.
I've been able to do this on another OpenBSD box (version 4.3), but not this one (version 3.9). Â
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
try ifconfig inet 169... mask 255...
make sure you are at console, sometims flushing and re-entering routes is more helpful






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
uid 25 on /var: out of inodes
uid 0 on /var: out of inodes
uid 25 on /var: out of inodes
uid 25 on /var: out of inodes
uid 0 on /var: out of inodes
uid 25 on /var: out of inodes
uid 25 on /var: out of inodes
uid 25 on /var: out of inodes
uid 25 on /var: out of inodes
uid 25 on /var: out of inodes
uid 25 on /var: out of inodes
arplookup: unable to enter address for 169.254.155.165
arplookup: unable to enter address for 169.254.144.52
arplookup: unable to enter address for 169.254.248.232
arp info overwritten for 128.120.28.137 by 00:1b:2f:2e:1c:4b on em2
uid 0 on /var: out of inodes
uid 25 on /var: out of inodes
uid 25 on /var: out of inodes
uid 25 on /var: out of inodes
uid 25 on /var: out of inodes
uid 25 on /var: out of inodes
uid 25 on /var: out of inodes
arplookup: unable to enter address for 169.254.144.52
**************************
# ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUN
    groups: lo
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
em0: flags=8843<UP,BROADCAST,RU
    lladdr 00:40:48:b1:5d:08
    media: Ethernet autoselect (1000baseT full-duplex)
    status: active
    inet 192.168.109.28 netmask 0xffffff00 broadcast 192.168.109.255
    inet6 fe80::240:48ff:feb1:5d08%e
em1: flags=8843<UP,BROADCAST,RU
    lladdr 00:40:48:b1:5d:09
    groups: egress
    media: Ethernet autoselect (1000baseT full-duplex)
    status: active
    inet 169.237.247.155 netmask 0xfffff000 broadcast 169.237.255.255
    inet6 fe80::240:48ff:feb1:5d09%e
em2: flags=8843<UP,BROADCAST,RU
    lladdr 00:40:48:b1:5d:0a
    media: Ethernet autoselect (1000baseT full-duplex)
    status: active
    inet 128.120.29.254 netmask 0xfffffe00 broadcast 128.120.29.255
    inet6 fe80::240:48ff:feb1:5d0a%e
pflog0: flags=141<UP,RUNNING,PROMI
pfsync0: flags=0<> mtu 1460
enc0: flags=0<> mtu 1536

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
uid 25 writing /var means you have internal sendmail problem. take care to claean up mail queues to free some inodes *before* reboot.
Last login: Tue Apr 22 20:11:20 2008 from 128.120.28.148
OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
  deraadt@i386.openbsd.org:/
cpu0: VIA Nehemiah ("CentaurHauls" 686-class) 1.01 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,SEP
cpu0: RNG AES
real mem  = 519610368 (507432K)
avail mem = 467075072 (456128K)
using 4278 buffers containing 26083328 bytes (25472K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(4d) BIOS, date 09/09/04, BIOS32 rev. 0 @ 0xfb3b0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf94
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/224 (12 entries)
pcibios0: PCI Exclusive IRQs: 5 7 10 11
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0xf400 0xd0000/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8623 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8633 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "VIA CLE266" rev 0x03: aperture at 0xe8000000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em0 at pci0 dev 8 function 0 "Intel PRO/1000MT (82541GI)" rev 0x00: irq 11, address 00:40:48:b1:5d:08
em1 at pci0 dev 9 function 0 "Intel PRO/1000MT (82541GI)" rev 0x00: irq 5, address 00:40:48:b1:5d:09
em2 at pci0 dev 10 function 0 "Intel PRO/1000MT (82541GI)" rev 0x00: irq 10, address 00:40:48:b1:5d:0a
cbb0 at pci0 dev 12 function 0 "Ricoh 5C476 CardBus" rev 0x82: irq 11
cbb1 at pci0 dev 12 function 1 "Ricoh 5C476 CardBus" rev 0x82: irq 5
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 7
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
iic0 at viapm0
"unknown" at iic0 addr 0x18 not configured
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 confi
gured to compatibility
pciide0: channel 0 disabled (no drives)
wd0 at pciide0 channel 1 drive 0: <CF300>
wd0: 1-sector PIO, LBA, 491MB, 1006992 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 10
ac97: codec id 0x56494161 (VIA Technologies VT1612A)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
audio0 at auvia0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
isa0 at mainbus0
isadma0 at isa0
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
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
viasio0 at isa0 port 0x2e/2: VT1211 rev 0x02: HM WDG: not activated
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
biomask ffed netmask ffed ttymask ffef
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
#






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
/sbin/ifconfig em1 inet 169.237.247.155 netmask 0xfffff000

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Â
inet 169.237.247.155 255.255.255.240 NONE
 ifconfig
lo0: flags=8049<UP,LOOPBACK,RUN
    groups: lo
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
em0: flags=8843<UP,BROADCAST,RU
    lladdr 00:40:48:b1:5d:08
    media: Ethernet autoselect (1000baseT full-duplex)
    status: active
    inet 192.168.109.28 netmask 0xffffff00 broadcast 192.168.109.255
    inet6 fe80::240:48ff:feb1:5d08%e
em1: flags=8843<UP,BROADCAST,RU
    lladdr 00:40:48:b1:5d:09
    groups: egress
    media: Ethernet autoselect (1000baseT full-duplex)
    status: active
    inet 169.237.247.155 netmask 0xfffff000 broadcast 169.237.255.255
    inet6 fe80::240:48ff:feb1:5d09%e
em2: flags=8843<UP,BROADCAST,RU
    lladdr 00:40:48:b1:5d:0a
    media: Ethernet autoselect (1000baseT full-duplex)
    status: active
    inet 128.120.29.254 netmask 0xfffffe00 broadcast 128.120.29.255
    inet6 fe80::240:48ff:feb1:5d0a%e
pflog0: flags=141<UP,RUNNING,PROMI
pfsync0: flags=0<> mtu 1460
enc0: flags=0<> mtu 1536
#






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Could show the contents of /etc/mygate and the output of netstat -rn
Same way I could ask to do ifconfig lo0 inet 127.0.0.1 netmask 0xff000000
/var out of inodes means vi will not work, logs will not rotate etc...

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
inet 169.237.247.155 255.255.240.0 NONE
However, the subnet our upstream interface is connected to is 169.237.247.144/28, so I edited hostname.em1 to equal:
inet 169.237.247.155 255.255.255.240 NONE
Since editing the hostname.em1 file won't take affect until the firewall reboots, which I want to avoid since it's in production, I tried to use the ifconfig command to change its settings live, which is when I ran into the "SIOCGIFFLAGS: Device not configured" issue.
Sorry I didn't make that clear.
Output of mygate:
169.237.247.145
Output of netstat -rn
169.237.247.145 UGS 1 251728376 - em1
127/8 127.0.0.1 UGRS 0 0 33224 lo0
127.0.0.1 127.0.0.1 UH 1 98 33224 lo0
128.120.28/23 link#3 UC 100 0 - em2
128.120.28.11 0:4:23:d0:9a:9 UHLc 0 727055 - em2
128.120.28.12 0:4:23:d0:9c:a2 UHLc 0 6585331 - em2
128.120.28.13 0:4:23:d0:99:98 UHLc 0 100215 - em2
128.120.28.14 0:4:23:d0:9d:f6 UHLc 0 9810523 - em2
128.120.28.20 0:14:38:ce:89:a4 UHLc 0 4293 - em2
128.120.28.25 0:f:1f:d9:e1:28 UHLc 0 113776 - em2
128.120.28.28 0:60:9f:91:54:4a UHLc 0 9 - em2
128.120.28.30 0:60:9f:91:54:91 UHLc 0 9 - em2
128.120.28.34 0:60:9f:91:63:9 UHLc 0 9 - em2
128.120.28.36 0:60:9f:91:54:89 UHLc 0 37 - em2
128.120.28.44 0:60:9f:91:54:99 UHLc 0 20 - em2
128.120.28.48 0:60:9f:91:54:3b UHLc 0 9 - em2
128.120.28.54 0:60:9f:91:54:b7 UHLc 0 21 - em2
128.120.28.56 0:60:9f:91:54:9c UHLc 0 17 - em2
128.120.28.61 0:60:9f:91:54:58 UHLc 0 9 - em2
128.120.28.63 0:60:9f:91:54:93 UHLc 0 10 - em2
128.120.28.80 0:6:5b:5e:84:b8 UHLc 0 141011 - em2
128.120.28.81 0:6:5b:de:70:bb UHLc 0 22598 - em2
128.120.28.82 0:6:5b:de:b3:12 UHLc 0 2391 - em2
128.120.28.84 0:15:c5:1c:52:c6 UHLc 0 229800 - em2
128.120.28.85 0:d:56:d2:f3:5c UHLc 0 10 - em2
128.120.28.87 0:15:c5:9:89:28 UHLc 0 31063 - em2
128.120.28.88 0:6:5b:de:70:f2 UHLc 0 6625 - em2
128.120.28.90 0:6:5b:de:b3:b1 UHLc 0 18093 - em2
128.120.28.95 0:15:c5:1c:5f:47 UHLc 0 49262 - em2
128.120.28.96 0:6:5b:de:54:b7 UHLc 0 1338 - em2
128.120.28.98 0:d:56:d2:f2:27 UHLc 0 81841 - em2
128.120.28.100 0:15:c5:1b:cf:e8 UHLc 0 12691 - em2
128.120.28.102 0:1a:a0:89:5a:5 UHLc 0 46585 - em2
128.120.28.103 0:13:72:28:a5:af UHLc 0 22 - em2
128.120.28.104 0:15:c5:9:87:7c UHLc 0 6850 - em2
128.120.28.105 0:d:56:d2:f3:44 UHLc 0 103135 - em2
128.120.28.107 0:6:5b:de:70:c6 UHLc 0 10277 - em2
128.120.28.111 0:15:c5:1c:22:17 UHLc 0 985210 - em2
128.120.28.113 0:6:5b:de:b3:aa UHLc 0 14807 - em2
128.120.28.115 0:6:5b:de:70:38 UHLc 0 6464 - em2
128.120.28.118 0:6:5b:de:70:b4 UHLc 0 24 - em2
128.120.28.119 0:18:8b:5b:4b:69 UHLc 0 467285 - em2
128.120.28.122 0:18:8b:5b:5c:17 UHLc 0 277 - em2
128.120.28.126 0:6:5b:de:70:a5 UHLc 0 19851 - em2
128.120.28.135 0:15:c5:1b:b8:fe UHLc 0 125514 - em2
128.120.28.138 0:6:5b:de:b2:6 UHLc 0 7913 - em2
128.120.28.140 0:6:5b:de:b3:a2 UHLc 0 15482 - em2
128.120.28.142 0:15:c5:1c:5f:10 UHLc 0 51226 - em2
128.120.28.143 0:6:5b:de:b3:10 UHLc 0 34663 - em2
128.120.28.144 0:6:5b:de:b3:a4 UHLc 0 28335 - em2
128.120.28.147 0:d:56:d2:f3:53 UHLc 0 33094 - em2
128.120.28.148 0:c:f1:d7:68:ac UHLc 1 4264998 - em2
128.120.28.154 0:6:5b:de:b3:9e UHLc 0 12 - em2
128.120.28.157 0:d:56:d2:f2:6e UHLc 0 16 - em2
128.120.28.160 0:d:56:d2:f2:4b UHLc 0 39728 - em2
128.120.28.161 0:d:56:d2:f2:34 UHLc 0 32088 - em2
128.120.28.162 0:6:5b:de:b2:bf UHLc 0 19094 - em2
128.120.28.164 0:13:72:28:ba:bc UHLc 0 67 - em2
128.120.28.166 0:15:c5:1c:23:4 UHLc 0 32964 - em2
128.120.28.171 0:e:7b:37:e6:de UHLc 0 4151 - em2
128.120.28.172 0:16:d3:ce:6b:b2 UHLc 0 0 - em2
128.120.28.173 0:15:c5:1c:29:65 UHLc 0 36951 - em2
128.120.28.177 0:15:c5:1e:54:27 UHLc 0 28489 - em2
128.120.28.178 0:15:c5:9:95:d9 UHLc 0 7102 - em2
128.120.28.179 0:15:c5:1b:f5:7c UHLc 0 643 - em2
128.120.28.180 0:15:c5:1c:53:59 UHLc 0 13289 - em2
128.120.28.181 0:15:c5:1e:54:2e UHLc 0 15139 - em2
128.120.28.183 0:15:c5:9:94:e1 UHLc 0 113748 - em2
128.120.28.185 0:6:5b:de:b2:ad UHLc 0 6644 - em2
128.120.28.186 0:15:c5:a:46:9e UHLc 0 20513 - em2
128.120.28.188 0:6:5b:de:70:b5 UHLc 0 15211 - em2
128.120.28.191 0:13:72:28:a1:95 UHLc 0 12 - em2
128.120.28.192 0:b:db:41:e5:25 UHLc 0 4 - em2
128.120.28.193 0:b:db:41:e5:60 UHLc 0 4 - em2
128.120.28.194 0:b:db:41:e5:5 UHLc 0 7 - em2
128.120.28.195 0:6:5b:de:b3:3 UHLc 0 19083 - em2
128.120.28.196 0:6:5b:de:b3:ab UHLc 0 25542 - em2
128.120.28.198 0:13:72:28:a6:af UHLc 0 11 - em2
128.120.28.200 0:18:8b:65:69:28 UHLc 0 1356596 - em2
128.120.28.212 0:6:5b:de:70:a7 UHLc 0 8371 - em2
128.120.28.214 0:15:c5:1c:51:21 UHLc 0 31718 - em2
128.120.28.215 0:6:5b:de:71:6 UHLc 0 21098 - em2
128.120.28.217 0:13:72:28:a5:e8 UHLc 0 90 - em2
128.120.28.218 0:6:5b:de:b3:2e UHLc 0 6645 - em2
128.120.28.222 0:6:5b:cf:5d:b UHLc 0 58409 - em2
128.120.28.223 0:15:c5:1c:5c:a1 UHLc 0 55238 - em2
128.120.28.226 0:15:c5:a:f:36 UHLc 0 48122 - em2
128.120.28.227 0:6:5b:de:b3:bf UHLc 0 11488 - em2
128.120.28.233 0:15:c5:1c:60:78 UHLc 0 742 - em2
128.120.28.235 0:6:5b:de:b3:ae UHLc 0 19143 - em2
128.120.28.236 0:6:5b:de:70:6d UHLc 0 73427 - em2
128.120.28.237 0:6:5b:de:b3:1d UHLc 0 38177 - em2
128.120.28.238 0:15:c5:9:a6:11 UHLc 0 48545 - em2
128.120.28.239 0:18:8b:69:b4:18 UHLc 0 919485 - em2
128.120.28.241 0:15:c5:9:f9:f9 UHLc 0 13113 - em2
128.120.28.251 0:15:c5:1c:52:c9 UHLc 0 26791 - em2
128.120.29.7 0:c:f1:9d:83:50 UHLc 0 90106 - em2
128.120.29.20 0:15:c5:9:7f:1a UHLc 0 21170 - em2
128.120.29.244 0:90:de:0:3e:8d UHLc 0 2387 - em2
128.120.29.245 0:90:de:0:3e:fb UHLc 0 10685 - em2
128.120.29.246 0:90:de:0:3e:a3 UHLc 0 10345 - em2
128.120.29.247 0:90:de:0:40:11 UHLc 0 7246 - em2
128.120.29.248 0:90:de:0:11:c2 UHLc 0 8096 - em2
128.120.29.254 0:40:48:b1:5d:a UHLc 0 18 - lo0
169.237.240/20 link#2 UC 5 0 - em1
169.237.247.91 link#2 UHRLc 0 20 - em1
169.237.247.92 link#2 UHLc 0 23 - em1
169.237.247.145 0:4:80:9a:20:0 UHLc 1 0 - em1
169.237.247.155 0:40:48:b1:5d:9 UHLc 0 6 - lo0
169.237.249.106 0:6:b1:e:a7:80 UHLS 0 12 - em1
169.237.250.250 link#2 UHRLc 0 30 - em1
192.168.109/24 link#1 UC 1 0 - em0
192.168.109.28 0:40:48:b1:5d:8 UHLc 0 4 - lo0
224/4 127.0.0.1 URS 0 0 33224 lo0
Internet6:
Destination Gateway Flags Refs Use Mtu Interface
::/104 ::1 UGRS 0 0 - lo0 =>
::/96 ::1 UGRS 0 0 - lo0
::1 ::1 UH 12 0 33224 lo0
::127.0.0.0/104 ::1 UGRS 0 0 - lo0
::224.0.0.0/100 ::1 UGRS 0 0 - lo0
::255.0.0.0/104 ::1 UGRS 0 0 - lo0
::ffff:0.0.0.0/96 ::1 UGRS 0 0 - lo0
2002::/24 ::1 UGRS 0 0 - lo0
2002:7f00::/24 ::1 UGRS 0 0 - lo0
2002:e000::/20 ::1 UGRS 0 0 - lo0
2002:ff00::/24 ::1 UGRS 0 0 - lo0
fe80::/10 ::1 UGRS 0 0 - lo0
fe80::%em0/64 link#1 UC 0 0 - em0
fe80::240:48ff:feb1:5d08%e
fe80::%em1/64 link#2 UC 0 0 - em1
fe80::240:48ff:feb1:5d09%e
fe80::%em2/64 link#3 UC 0 0 - em2
fe80::240:48ff:feb1:5d0a%e
fe80::%lo0/64 fe80::1%lo0 U 0 0 - lo0
fe80::1%lo0 link#7 UHL 0 0 - lo0
fec0::/10 ::1 UGRS 0 0 - lo0
ff01::/32 ::1 UC 0 0 - lo0
ff02::%em0/32 link#1 UC 0 0 - em0
ff02::%em1/32 link#2 UC 0 0 - em1
ff02::%em2/32 link#3 UC 0 0 - em2
ff02::%lo0/32 ::1 UC 0 0 - lo0
Encap:
Source Port Destination Port Proto SA(Address/Proto/Type/Dire
Output of df -i /var
# df -i /var
Filesystem  512-blocks    Used   Avail Capacity iused  ifree  %iused  Mounted on
/dev/wd0d     32620   19260   11732   62%   2174    0  100%  /var
#
Â






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Unix OS
--
Questions
--
Followers
Top Experts
Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.