LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-19-2014, 06:32 PM   #61
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3

One point of clarification: In inserting those scripts into the terminal, should each one be in a separate terminal or can the second script be placed in the original terminal after the first script has been executed? I can't see where it would make a difference but maybe it does. Thanks.
 
Old 02-19-2014, 10:08 PM   #62
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
I apologize for bugging everyone with this...but it is frustrating. Now I am having trouble getting online at all. Before I was at least able to get on with "disable wireless" and then going back to "enable wireless," but now even that is precarious. I had to make several tries to finally get back on. The bad password is still embedded in this system. What needs to be done to correct this?
 
Old 02-19-2014, 10:31 PM   #63
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Quote:
Originally Posted by Yuhan View Post
Should there be a reset switch or do you just unplug the router for a few minutes and then plug it back in?
Some have a switch. Others let you login and tell it to reboot from the http server interface. But most need to be unplugged IME. If you have a few power strips with switches, you can add a switch of sorts by dedicating one of those power strips to the device.

For iffy configs you can sometimes get away with purging the package entirely.

# dpkg --purge --force-all <package>
(in debian)

The apt-get remove method keeps the configs, which it sounds like you're needing to purge. Make sure you have the package downloaded and archived (/var/cache/apt/archives/ in debian) so you can reinstall it without needing a network to download it.

# apt-get install --reinstall <package>
(or)
# dpkg -i /var/cache/apt/archives/<package .deb name>

Otherwise you might need some code digging (or googling) to find out where things might be and might be duplicated. So you can manually purge them or modify them to work in expected ways. Or don't use that package and do things the old (mostly CLI) way(s). Bundle that up in a bash script to save future keystrokes and fat finger mishaps. Which is how I do it, but mostly to make migration between distros and versions of distros less needy.
 
Old 02-19-2014, 10:59 PM   #64
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
This is good but a bit technical for this old geezer. What is the CLI for getting online without the network package? And how do you create a simplified bash script? I seem to remember that from the old DOS days! I was never good at DOS but knew just enough to do what I needed. But inserting a command line script and then creating a bash file would be neat. Would that in any way jeopardize my ability to get online at public hot spots, etc.?
 
Old 02-20-2014, 07:21 AM   #65
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
Here are my wireless and ethernet cards. I thought this might provide some useful information on solving this problem:

00:19.0 Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network Connection [8086:10f5] (rev 03)
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237]

Does that help at all?
 
Old 02-20-2014, 08:23 AM   #66
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 402

Rep: Reputation: Disabled
Have you considered renaming your wireless network?
 
Old 02-20-2014, 09:14 AM   #67
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
How do you mean? Just creating a replacement for "Yuhan" or actually creating a different account with new password, etc.? How would I go about doing that? Would that necessitate making changes on my router or just locally on my laptop? The reason I ask that is because my family has also has wireless units configured with the existing router settings. I would hate to have go through and change all of them. If it's just me, however, that makes a change on my laptop, that would be fine. I still think somehow I'm going to have to get rid of those bum passwords. Even if a new name were to work temporarily, my sense is that old password would rear its head at some point.
 
Old 02-20-2014, 09:21 AM   #68
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 402

Rep: Reputation: Disabled
Well, I was thinking changing the wireless network name on your router. But that would mean changing the setups on all your other devices. But with a new network name, the password issue on your system should go away, as the network name would no longer match your old configurations.

I can certainly understand not wanting to disrupt the family. I have the same issue at my house.
 
Old 02-20-2014, 09:26 AM   #69
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 402

Rep: Reputation: Disabled
is there a package available for xubuntu called ceni? you can look for it in the software center.
 
Old 02-20-2014, 09:38 AM   #70
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
I looked in the software center. Apparently it is not available. What is it?
 
Old 02-20-2014, 09:48 AM   #71
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 402

Rep: Reputation: Disabled
its a console (command line) network configuration tool. I've used it in the past on debian-based systems when removing network-manager. It automates a lot of the headaches of configuring a network from the command-line.

I'm installing a test setup of xubuntu. I'm going to try purging network manager and reinstalling a different network managment tool.

Unfortunantely I havne't been able to duplicate your password issues.
 
Old 02-20-2014, 10:02 AM   #72
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
Thanks for going to this trouble! I appreciate your efforts. Is there a way just to delete the Network Manager and start over, as if from scratch? If that were possible it could possibly eliminate the headaches of creating a renamed manager.
 
Old 02-20-2014, 10:39 AM   #73
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 402

Rep: Reputation: Disabled
I'm actually looking at that option now. The problem is that if you remove and purge network-manager you will not have a connection, even wired, to the internet, so installing a new manager will be difficult. There are ways to do this from the commandline, but I'll be honest, I'm a little shakey on them as its been a longggg time since I set up a connection that way.
 
Old 02-20-2014, 03:00 PM   #74
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 402

Rep: Reputation: Disabled
I've just about got a working procedure to replace network-manager with wicd, without loseing your network connection. I want to test it on real hardware tonight so hopefully tomorrow I'll have something you can try.
 
Old 02-20-2014, 07:55 PM   #75
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Quote:
Originally Posted by Yuhan View Post
This is good but a bit technical for this old geezer. What is the CLI for getting online without the network package? And how do you create a simplified bash script? I seem to remember that from the old DOS days! I was never good at DOS but knew just enough to do what I needed. But inserting a command line script and then creating a bash file would be neat. Would that in any way jeopardize my ability to get online at public hot spots, etc.?
You would be using bash (or dash) to create a sh script (think .bat file). Which basically contains all of the iwconfig options to set the wireless parameters (man iwconfig). In debian there's a /etc/network/interfaces file to define network devices. If defined there network-manager ignores that device. And you can set pre-up and post-up things to run scripts, like your wireless bash script. And post-up to set your DNS to non-ISP ones that actually work (/etc/resolv.conf).

Basically all the old dos things from bitd. But /? is -h or --help. And .bat is .sh and with headers (#! /bin/sh). And type is cat, dir is ls, move is mv, copy is cp, and other things.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Laptop won't recognize home router with Xubuntu Yuhan Linux - Laptop and Netbook 2 12-17-2013 11:38 PM
New laptop, connects to router, will not connect to internet BobNutfield General 2 01-12-2013 06:44 PM
Toshiba won't connect to Netgear wireless router.. shirky Linux - Networking 4 02-14-2012 08:04 PM
How do I set up a laptop as a router to connect wirelessly to my ADSL router hairysocks Linux - Networking 12 12-20-2009 06:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration