Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-25-2017, 02:07 PM
|
#46
|
Member
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195
Original Poster
Rep: 
|
I installed freebsd which I like a lot but I'm having problems with wireless even though my card is well supported. I'm going to keep working on it.
|
|
|
03-25-2017, 03:12 PM
|
#47
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Quote:
Originally Posted by bsth123
I installed freebsd which I like a lot but I'm having problems with wireless even though my card is well supported. I'm going to keep working on it.
|
Don't have experience with freebsd. Sorry. Here's the wireless page for BSD--
https://www.freebsd.org/doc/handbook...-wireless.html
Good Luck- 
|
|
|
03-25-2017, 03:31 PM
|
#48
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
Most of what I know of BSD is that wireless chipsets are not as supported as they are in linux.
As far as linux, check your logs. If things are not working, the logs tend to give hints as to why. I tend to use old setup methods, which can be blocked by "network managers". wicd, network manager, and others can be complete fail when the driver is quirky or has issues (like missing firmware).
$ sudo ifconfig wlan0 up
$ sudo iwlist wlan0 scanning
The modern version might be more like:
$ sudo ip link set wlan0 up
$ sudo iw wlan0 scan
same basic function, but some distros don't install the legacy ways by default anymore. And various BSDs are "different". Basically if those bring back results for nearby wireless options, your driver is probably functional.
$ dmesg | grep -i firmware
$ sudo cat /var/log/syslog | grep -i wl
In days of old I had to do odd things like set the ESSID twice before a driver took notice. One of the quirky things that make modern managers fail.
|
|
|
03-26-2017, 12:22 PM
|
#49
|
Member
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195
Original Poster
Rep: 
|
The only thing that worries me is that everytime I try to bring up wireless I lose my wired connection. I even tried a wireless dongle and it is recognized but when I try to use it again no more wired connection. I don't know what else to try at this point. When I try with wireless it can't connect to dhcp and then I get an error message about wpa_supplicant. One thing though if I can get freeBSD installed and working I think I can install just about anything!!
Code:
$ dmesg | grep -i firmware
returns nothing
Code:
cat: /var/log/syslog: No such file or directory
I tried checking the log files and couldn't find anything.
Last edited by bsth123; 03-26-2017 at 12:30 PM.
|
|
|
03-26-2017, 12:39 PM
|
#50
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
I tend to go low level CLI for networking.
$ sudo service --status-all
$ sudo service wicd stop
$ sudo service network-manager stop
$ sudo systemctl stop ModemManager
Just getting the obstacles out of the way. Uninstalling them works too, but some environments have them as dependencies, so not always an option.
$ sudo dhclient -4 -v eth0
For wired connections. Often times I swap out the /etc/resolv.conf for a custom one. ISP and Router DNS results can be restrictive or inaccurate at times.
$ sudo wpa_password {ESSID} {PASSWORD} > wpa.conf
$ sudo wpa_supplicant -Dnl80211,wext -iwlan0 -cwpa.conf &
$ sudo dhclient -4 -v wlan0
For wireless. The latest connection method will likely redo the default gateway which is mostly why the old method is now fail. If there is no encryption or using the older WEP method, then wpa_* need not apply and use iw / iwconfig to set the ESSID and other specs, then dhclient (or dhcpcd) to connect to the network.
$ sudo route -n
$ netstat -r
To see your IPs and routes.
$ ping -c 2 8.8.8.8
To check your connectivity (googles DNS server).
$ ping -c 2 google.com
To make sure DNS works (name to IP resolution)
$ sudo apt-get update
$ sudo apt-get -d dist-upgrade
$ sudo apt-get dist-upgrade
To check for updates and get them. Plus poor mans speed test. I'll often do the first two twice if on a slow connection with a lot of updates. As they'll likely be "more" updates by the time I grab the previous updates. And I might not want to update until I have all the updates. Or delay the update if something I'm using (like a kernel or X) is getting updated.
|
|
|
03-26-2017, 02:47 PM
|
#51
|
Member
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195
Original Poster
Rep: 
|
The problem is the commands you gave me don't work in freebsd. I've done a lot of googling and all I've found is how to compile the kernel to add support for my wireless card and I find that hard to believe. I also tried to find support for my wireless dongle and it's supposed to work out of the box but it doesn't. I can't find a wireless dongle that works for freebsd.
The good thing is that my modem/router is right next to me.
|
|
|
03-26-2017, 03:27 PM
|
#52
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Last edited by Ztcoracat; 03-26-2017 at 03:32 PM.
|
|
|
03-26-2017, 03:29 PM
|
#53
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
BSD should have ifconfig and route. Although the syntax was a bit different when I tried it. The man pages are good with examples though. And there's ee to edit if vi isn't your wheel house. ee == easy edit, the nano of bsd.
|
|
|
03-26-2017, 03:39 PM
|
#54
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Quote:
Originally Posted by Shadow_7
BSD should have ifconfig and route. Although the syntax was a bit different when I tried it. The man pages are good with examples though. And there's ee to edit if vi isn't your wheel house. ee == easy edit, the nano of bsd.
|
Agreed-
Quote:
Instead of a generic ethX identifier that Linux® uses to identify a network interface, FreeBSD uses the driver name followed by a number
|
https://www.freebsd.org/doc/en/artic...s/network.html
Op could greatly benefit in knowledge by doing some reading:-
I've spoken to other Guru's about running BSD and it has a learning curve to getting it up and running. It's a different beast like Slackware is unto itself:-
|
|
|
03-26-2017, 04:49 PM
|
#55
|
Member
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195
Original Poster
Rep: 
|
First of all I greatly resent that because I have done a ton of reading and have followed the instructions to the letter. If I missed something that only proves I'm human and for the short time I have used linux I think I have done good making it this far. I will keep working on this until I have it working regardless of what anyone says. I will check out the information later.
Thanks Shadow_7. I'll try again.
|
|
|
03-26-2017, 05:21 PM
|
#56
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
"I'm sorry" bsth123; I didn't know that you had read all of the documentation.
-::-If you already have the knowledge than there is nothing to resent as an apology has been offered.-::-
Guru's make mistakes too:-
|
|
|
03-26-2017, 06:27 PM
|
#58
|
Member
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195
Original Poster
Rep: 
|
Apology accepted. I did check my /etc/rc.conf file and I had entered the number for my wired connection. But why do you think that I have not asked a question in the BSD forum? I'm trying very hard. It was not easy figuring it out so that I now can boot into kde and have installed all the programs I need. I've been using linux less than two months yet I managed to do all that on my own without a single question. So I guess you can understand my frustration. Anyway, back to wireless. 
|
|
|
03-26-2017, 07:47 PM
|
#59
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Quote:
Originally Posted by bsth123
Apology accepted. I did check my /etc/rc.conf file and I had entered the number for my wired connection. But why do you think that I have not asked a question in the BSD forum? I'm trying very hard. It was not easy figuring it out so that I now can boot into kde and have installed all the programs I need. I've been using linux less than two months yet I managed to do all that on my own without a single question. So I guess you can understand my frustration. Anyway, back to wireless. 
|
Thank You.
I completely understand your frustration as I've been there myself.
|
|
|
03-26-2017, 11:02 PM
|
#60
|
Member
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195
Original Poster
Rep: 
|
Quote:
Originally Posted by rjcooks
|
a]
I've come too far and put in too much work to turn back now. As far as donating it I'm without another laptop right now because my new one is being repaired. I'll put some thought into it when I get mine back.
|
|
|
All times are GMT -5. The time now is 07:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|