Result of ifconfig -a reddit / BSD ---------------------------------------------------------------------- joedonut · 2018-11-16 21:58 I can't say what your unstated question might be. I can say that it looks like the Ethernet isn't plugged in. ---------------------------------------------------------------------- fugololo · 2018-11-16 21:58 $ ifconfig alc0 name eth0 ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:00 Do I do anything after that, or do iu want me to tell you what haopened ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:00 It is, and sorry, it was a continuation of my first question, it just isn't being detected ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:03 I did that and changed alc0 to eth0 in rc.conf and now when I do service netif restart, I get a bad ipv6 value ---------------------------------------------------------------------- dlangille · 2018-11-16 22:04 For your future shots, please go landscape to include the stuff on the right. status: no carrier There is no network cable plugged into alc0 ---------------------------------------------------------------------- joedonut · 2018-11-16 22:04 Change the port or the cable, one at a time. Look for the line that reads "Status: no carrier" to change (maybe to "Status: active"). ---------------------------------------------------------------------- fugololo · 2018-11-16 22:07 dhclient eth0; pkg install -y nyancat; nyancat ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:08 It just says giving up ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:09 When I go back to Linux it works, now it doesnt ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:13 And I only have one ether net port ---------------------------------------------------------------------- fugololo · 2018-11-16 22:13 Seems like you have no link. Is the cable plugged in? Do you see a link LED on the switch side? ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:14 No, but if I go back to Linux, the light turns on ---------------------------------------------------------------------- fugololo · 2018-11-16 22:17 try: ifconfig alc0 up tcpdump -i alc0 Do you see anything! ---------------------------------------------------------------------- joedonut · 2018-11-16 22:18 Booting into your BSD OS and linux, carefully note the hardware address of the ethernet while in each OS. Are the addresses the same? ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:19 For the tcpdump I get verbose output suppressed use some things for a full decode, and it says it's listening on eth0,I changed it to that from alc0 ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:19 Let me see ---------------------------------------------------------------------- fugololo · 2018-11-16 22:20 Can you post some lines of output you see? ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:20 Once I boot back I will ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:23 The addresses are the same, but on Linux the interface is enp6s0,should I try that? ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:28 Verbose output suppressed use -v it -vv for full decode Listening on alc0 link type EN10MB (Ethernet) capture size 262144 bytes ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:28 I got nothing on the alc0 up ---------------------------------------------------------------------- fugololo · 2018-11-16 22:35 Do you have any other NICs? Could the one (Atheros) you're seeing is a secondary NIC that isn't connected and the one that is, is not being recognized? ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:36 Only loopback ---------------------------------------------------------------------- fugololo · 2018-11-16 22:38 But no other physical NICs? ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:39 I only have one Ethernet port if that's what you mean Do I need sshd_enable="YES" and Ifconfig_alc0_ipv6="inet6 accept_rtadv ---------------------------------------------------------------------- fugololo · 2018-11-16 22:42 Then it looks like your device isn't receiving any packages. Enabling sshd doesn't hurt but is no use if you have no network :-) Can you paste the output of dmesg -a? ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:44 That's a lot of text, should I make a new post or just do what I think is important ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:45 It says alc0 link state changed to down then enabled then disabled promiscuous mode ---------------------------------------------------------------------- Tylerchad · 2018-11-16 22:45 Then destination address delete failed ---------------------------------------------------------------------- Tylerchad · 2018-11-16 23:04 Could it be a bad install? ---------------------------------------------------------------------- Tylerchad · 2018-11-16 23:20 Ifconfig -a https://imgur.com/gallery/fiXlK8g ---------------------------------------------------------------------- Tylerchad · 2018-11-16 23:38 I'll try to reinstall ---------------------------------------------------------------------- oh5nxo · 2018-11-17 12:06 Maybe you have to explicitly tell the media, ifconfig xyz0 media 100basetx or something like that. ---------------------------------------------------------------------- Tylerchad · 2018-11-17 12:50 Even after that, the farthest I get is active, and I still can't connect ---------------------------------------------------------------------- [deleted] · 2018-11-17 13:17 [removed] ---------------------------------------------------------------------- dlangille · 2018-11-17 18:18 Active is better than no carrier. Now you can configure that port manually if you want to. from the command line, something like: ifconfig alc0 inet 192.168.0.10 netmask 255.255.255.0 This assumes your network is 192.168.0.0/24 Adjust 192.168.0.10 to something not already in use in your network. ---------------------------------------------------------------------- Tylerchad · 2018-11-17 18:22 I will try that ---------------------------------------------------------------------- Tylerchad · 2018-11-17 18:32 Here's what happens after I restart my routing Routing https://imgur.com/gallery/mjEG69m ---------------------------------------------------------------------- dlangille · 2018-11-17 18:38 The ifconfig command I posted above is for the command line. Once you do that, you might have a functional network connection. When you run 'service routing restart', it undoes anything from the command line and invokes what is in /etc/rc.conf That said, it does look like you have a default gateway of 192.168.1.1 Can you confirm that 192.168.1.1 is your firewall/gateway/router? If so, this may work in /etc/rc.conf: ifconfig_alc0="inet 192.168.1.78 netmask 255.255.255.0" I picked .78 at random, hoping it works. Then try: service netif restart ---------------------------------------------------------------------- Tylerchad · 2018-11-17 18:42 For the default router would I use the 192 address or would I use 10.0.0.1 ---------------------------------------------------------------------- dlangille · 2018-11-17 18:43 You should use the IP address of your router/gateway/firewall. This would be the same IP address Linux uses for its gateway. ---------------------------------------------------------------------- Tylerchad · 2018-11-17 18:52 In Linux the NIC is enp5s0,in bsd it's alc0, do I have to change it ---------------------------------------------------------------------- dlangille · 2018-11-17 18:53 In BSD, use alc0 ---------------------------------------------------------------------- dlangille · 2018-11-17 18:59 I do not know. Use the same address that Linux uses. ---------------------------------------------------------------------- dlangille · 2018-11-17 18:59 I say this because I do not know the IP address of your router. If you boot into Linux, netstat should tell you. ---------------------------------------------------------------------- Tylerchad · 2018-11-17 19:04 No matter what I do, nothing works ---------------------------------------------------------------------- dlangille · 2018-11-17 19:05 Nothing works yet. ---------------------------------------------------------------------- dlangille · 2018-11-17 19:06 Your immediate goal: find out the IP address of your router/fireway/gateway. You can see this from someone else on your network.