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.
|
|
|
04-20-2012, 11:36 AM
|
#16
|
LQ Newbie
Registered: Apr 2012
Posts: 26
Original Poster
Rep:
|
K3lt01: I have 2 computers on my desk. One a laptop (running windows) the other my PC running Linux. I switched the internet cables around, is that the cable you are talking about plugging into the network card? If not, please explain how to make that happen. I went to Synaptic, here is what I found-I typed into the quick-search box, firmware-linux-free. 3 packages came up and I checked each for installation, prism2-usb-firmware-installer, linux-firmware-nonfree & linux-xlan-ng-firmware. Upon "apply", I received the following message.
An Error occured, the following details are provided:
W:Failed to fetch http://security.ubuntu.com/ubuntu/po...0.04.1_i386deb Could not resolve 'security.ubuntu.com'
W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/...uild1_i386.deb Could not resolve 'us.archive.ubuntu.com'
W:Failed to fetch http;//us.archive.ubuntu.com/ubuntu/pool/main/g/gettext/gettext_0.17-8ubuntu3_i386.deb Could not resolve 'us.archive.ubuntu.com'
W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/...0710.1_all.deb Could not resolve 'us.archive.ubuntu.com'
W:Failed to fetch http://us.archive.ubuntu.com/ubuntuu...1.0.16_all.deb Could not resolve 'us.archive.ubuntu.com'
W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/...buntu1_all.deb Could not resolve 'us.archive.ubuntu.com'
W:Failed to fetch http://security.ubuntu.com/ubuntu/po...tu0.3_i386.deb Could not resolve 'security.ubuntu.com'
W:Failed to fetch http://security.ubuntu.com/ubuntu/po....04.1_i386.deb Could not resolve 'security.ubuntu.com'
W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/...-perl_1.4-2all deb Could not resolve 'security.ubuntu.com'
W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/...9.16-1_all.deb Could not resolve 'us.archive.ubuntu.com'
W:Failed to fetch http://security.ubuntu.com/ubuntu/po...tu1.3_i386.deb Could not resolve 'security.ubuntu.com'
W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/...ee_1.8_all.deb Could not resolve 'us.archive.ubuntu.com'
W:Failed to fetch htt://us.archive.ubuntu.com/ubuntu/pool/universe/m/module-assistant/module-assistant_0.11.2ubuntu1_all deb Could not resolve 'us.archive.ubuntu.com'
W:Failed to fetch http://security.ubuntu.com/ubuntu/po...tu1.3_i386.deb /Could not resolve 'security.ubuntu.com'
W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/...sgl-4_i386.deb Could not resolve 'us.archive.ubuntu.com'
W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/...dfsg-4_all.deb Could not resolve 'us.archive.ubuntu.com'
W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/...dfsg-4_all.deb Could not resolve 'us.archive.ubuntu.com'
W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/...dfsg-4_all.deb Could not resolve 'us.archive.ubuntu.com'
W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/...fsg-4_i386.deb Could not resolve 'us.archive.ubuntu.com'
I closed application,Ken.
|
|
|
04-20-2012, 02:09 PM
|
#17
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
That cable is what I was referring to.
I must apologise to Thor, I thought you were running Windows and Ubuntu on the one machine. It may be that Thor is indeed correct and your card is the problem.
Do not try to install anything apart from what is mentioned, we need to keep track of what you actually have installed.
From your Windows machine please download this file and this file and save them to a USB drive. Then put the USB drive into your Ubuntu machine and install both of these with gdebi. All you should need to do is right click and select open with gdebi on each one. Reboot the machine, with the cable connected to the port, and let us know what happens.
|
|
|
04-20-2012, 02:26 PM
|
#18
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
It worked before, right?
Did you set the default gateway?
Please post the output (as root) from
Code:
route -n
ifconfig
cat /etc/resolv.conf
Kind regards
Last edited by repo; 04-20-2012 at 02:28 PM.
|
|
|
04-20-2012, 02:34 PM
|
#19
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
|
Oh no you dont ... no need to! Eventually, the light hits everyone
Just silently following this...
Thor
|
|
|
04-21-2012, 05:28 PM
|
#20
|
LQ Newbie
Registered: Apr 2012
Posts: 26
Original Poster
Rep:
|
K3lt01: I downloaded both files, the 1st firmware has a later version in computer already and firmware non-free was downloaded, both are in computer. I restarted and nothing new happened.
Repo: You asked:
"Did you set the default gateway?" I am not sure what that is.
You wrote: "Please post the output (as root) from
Code:
route -n
ifconfig
cat /etc/resolv.conf
I have to explain, my friend, I have used Linux for 6 years w/ much satisfaction, I however am clueless as to what the above means, can you break it down for one less fortunate in Linux? My appreciation is immense for all the help, Ken.
|
|
|
04-22-2012, 04:12 AM
|
#21
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
|
Quote:
"Did you set the default gateway?"
|
There are several ways to find that out, an easy one is this: in the console, enter
and look at the result...the IP address of your modem should be in there...if not, enter this
Quote:
route add default gw [IP address of the modem]
|
for example
Quote:
route add default gw 192.168.1.1
|
will add the modem (here in this example with IP addres 192.168.1.1) to the table as the default gateway...
Thor
Last edited by ButterflyMelissa; 04-22-2012 at 04:57 AM.
|
|
|
04-22-2012, 04:25 AM
|
#22
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
Quote:
Originally Posted by Kendancer1
K3lt01: I downloaded both files, the 1st firmware has a later version in computer already and firmware non-free was downloaded, both are in computer. I restarted and nothing new happened.
|
Ok so that has in theory eliminated that problem. If I were you I would follow, very carefully (in other words just do as suggested don't go any further than what people are suggesting), the good advice given by Thor, Repo, and Jefro, and anyone else who comes along. Good luck.
|
|
|
04-22-2012, 04:55 AM
|
#23
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Quote:
can you break it down for one less fortunate in Linux?
|
Open a terminal and type as root:
Code:
route -n
ifconfig
cat /etc/resolv.conf
Post the output
Kind regards
|
|
|
04-22-2012, 05:14 AM
|
#24
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Well, according to the HCL this card should work out of the box, no firmware needed, drivers in the kernel since version 2.4.
So there are two possible causes for your problem:
- Failing hardware: The card or the cable is defective, or the card is incompatible with your modem (at least one member has mentioned such problems on the HCL)
- Failing software: Either your PC has problems with getting DHCP leases from the modem or the modem is not offering DHCP functionality to the net.
The output from the commands repo asked for would definitely helped, but i think it may possibly also help if you clarify this:
Quote:
I have checked my connection by connecting a laptop to my modem and I can run it with window 97 with a few glitches.
|
Please explain exactly what kind of glitches happened, may be it is related to the problem.
|
|
|
04-22-2012, 08:53 AM
|
#25
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
|
Quote:
Failing software: Either your PC has problems with getting DHCP leases from the modem or the modem is not offering DHCP functionality to the net.
|
How about eliminating that factor? Ken, can I tempt you to use a static IP address on the inside? That could eliminate at least one "loose end"...unless I lost the flow of the thread and you already tried that...
Thor
|
|
|
04-22-2012, 08:24 PM
|
#26
|
LQ Newbie
Registered: Apr 2012
Posts: 26
Original Poster
Rep:
|
Thor:
New development, I started up computer today and when clicking on firefox got a response on screen: "Well, this is embarrassing. Firefox is having trouble recovering your windows and tabs. This is usually caused by a recently opened web page. You can try:"
-Removing one or more tabs that you think may be causing the problem
-Starting an entirely new browsing session. Below it gives options which are:
"Restore Windows and Tabs"
Window 1
About :startpage
http://support.moxilla.com/1/firefox...S/firefox-help
I chose the last option and clicked on "restore" key. Nothing new happened.
Now onto your previous message. When you say console I assume it is the terminal, yes? I keyed in route. The response: Destination Gateway Genmask Flags Metric Ref Use Iface
I keyed in "route add default gw [IP address of the modem]"
Response: Usage: inet_route [-vf] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]
inet-route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
[netmask N] [mss Mss] [window W] [irtt I]
[mod] [dyn] [reinstate] [[dev] If]
inet-route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
inet-route [-FC] flush NOT suppoorted
Ken
|
|
|
04-22-2012, 08:32 PM
|
#27
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
Quote:
Originally Posted by Kendancer1
Now onto your previous message. When you say console I assume it is the terminal, yes? I keyed in route. The response: Destination Gateway Genmask Flags Metric Ref Use Iface
|
You need to give it a little time to find the gateway. I did mine last night and it took 30 seconds to come up even though I have instant net conectivity.
Quote:
Originally Posted by Kendancer1
I keyed in "route add default gw [IP address of the modem]"
Response: Usage: inet_route [-vf] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]
inet-route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
[netmask N] [mss Mss] [window W] [irtt I]
[mod] [dyn] [reinstate] [[dev] If]
inet-route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
inet-route [-FC] flush NOT suppoorted
Ken
|
Where Thor has [IP address of the modem] he means you need to put in a series of numbers called the IP address. Something like 196.186.0.1 or even 10.0.0.1. You need to either have the modem's information (use your Windows machine if need be to find out what it is) or guess starting with those two numbers.
|
|
|
04-22-2012, 09:05 PM
|
#28
|
LQ Newbie
Registered: Apr 2012
Posts: 26
Original Poster
Rep:
|
Repo: I keyed in the following,
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:248 errors:0 dropped:0 overruns:0 frame:0
TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19200 (19.2KB) TX bytes:19200 (19.2KB)
cat /etc/resolv.conf
# Generated by NetworkManager
route -n ifconfig cat /etc/resolv.conf
Usage: route [-nNvee] [-FC] [<AF>] List kernet routing tables
route [-v] [-FC] {add|del|flush}... Modify routing table for AF.
route {-h|--help} [<AF>| Detailed usage syntax for specified
AF.
route {-V|--version} Display version/author and exit.
-v, --verbose be verbose
-n, --numeric don't resolve names
-e, --extend display other/more information
-f, --fib display forwarding information Base (default)
-c, --cache display routing cache instead of FIB
<AF>=Use '-A<af>' or '--<af>'; default: inet
List of possible address families (which support routing):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Applletalk DDP)
x25 (CCITT X.25)
When you ask me to type a command into the terminal, am I to type all on one line or key each line separately? I wasn't sure so did the above. This is still pretty new to me but gives me great keyboarding practice, Ken.
|
|
|
04-22-2012, 09:43 PM
|
#29
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
Quote:
Originally Posted by Kendancer1
When you ask me to type a command into the terminal, am I to type all on one line or key each line separately? I wasn't sure so did the above. This is still pretty new to me but gives me great keyboarding practice, Ken.
|
Each line is a different command.
Ken are you able to access your modem with your Windows machine? If you are then that will help you get the Modem's IP address. If you are not you will need to look up the modems documentation to find it out. Some of these commands like ipconfig will work in Windows. if you open a command prompt in Windows and type in ipconfig you should be able to see some details.
|
|
|
04-22-2012, 11:09 PM
|
#30
|
LQ Newbie
Registered: Apr 2012
Posts: 26
Original Poster
Rep:
|
k3lt01: I pulled up Ip address from windows run box, got the following:
Connection-specific DNS Suffix.... Gateway.2wirenet
Ethernet Adapter Local Area Connection
IP Address.........................192.168.0.64
Subnet Mask........................255.255.255.0
Default Gateway....................192.168.0.1
When I entered command "route add default gw 192.168.0.64 into terminal, response was:
SIOCADDRT: Operation not permitted"
This is starting to sink in...like water thru clay.
Thor: in regard to "How about eliminating that factor? Ken, can I tempt you to use a static IP address on the inside? That could eliminate at least one "loose end"." Please explain how to.
Again, my gratitude to you gents for taking your time to help, Ken.
|
|
|
All times are GMT -5. The time now is 03:21 PM.
|
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
|
|