LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-22-2012, 11:44 PM   #31
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637

Quote:
Originally Posted by Kendancer1 View Post
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.
The bold underlined bit is your modem. That is the number you need to tell your computer about so in a terminal type
Code:
route add default gw 192.168.0.1
 
Old 04-23-2012, 02:22 AM   #32
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
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.
Fairly simple, again, in the console, enter this

Quote:
ifconfig eth0 192.168.10.12 netmask 255.255.255.0 broadcast 192.168.10.255 up
Where the bit marked in red is the IP address you want to use, permanently. Caution (this is a bit of networking theory) though about the choice.

Let's assume you have tow PC's on trhe same network, consider this:

Quote:
PC 1 192.168.1.25
PC 2 192.168.0.25
They will never be able to reach/see each other - I marked the crucial bits in red. For all participating hosts (PC's, printers, modems and what have you) in a network to function together, only the LAST bit has to change. If a bigger network is called for - this scheme only allows for some 255 hosts - a different scheme is called for. These schemes have been determined by IANA and are documented. There is a scheme for each particular use...

Okay, your modem has 192.168.0.1 as address, fair enough, then you'd set the IP address like so:

Quote:
ifconfig eth0 192.168.0.X netmask 255.255.255.0 broadcast 192.168.10.255 up
...where X is any unused number you want...

However...this worries me:

Quote:
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)
This is the setup for the loopback deviice, but I dont see the setup of the network card...
There should be an entry that starts with eth0 as well...it almost looks as if the network card itself is not (yet) installed in the Linux section...

Quote:
Again, my gratitude to you gents for taking your time to help, Ken.
Dont worry, in fact, I enjoy doing this, and I suspect I'm not the only one...

Looking on...

THor
 
Old 04-23-2012, 03:25 AM   #33
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by Thor_2.0 View Post
Dont worry, in fact, I enjoy doing this, and I suspect I'm not the only one...
+1 Helping out is what sites like this, and Linux itself, is all about.
 
Old 04-23-2012, 08:24 AM   #34
Kendancer1
LQ Newbie
 
Registered: Apr 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
k3lt01: Thank you for the modem direction, I entered command "route add default gw 192.168.0.1" Response: ""SIOCADDRT: Operation not permitted.
 
Old 04-23-2012, 08:28 AM   #35
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You need to be root to do that, so try
Code:
sudo route add default gw 192.168.0.1
 
Old 04-23-2012, 09:08 AM   #36
Kendancer1
LQ Newbie
 
Registered: Apr 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Thor: The networking address makes more sense. I entered command "ifconfig eth0 192.168.0.1
(whereas the last digit was tried 3 different times as .1, .2, .3) netmask 255.255.255.0 broadcast 192.168.10.255 up" Reply was same each time:
SIOCSIFADDR: Permission denied
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: Permission denied
SIOCSIFBRDADDR: Permission denied
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
 
Old 04-23-2012, 09:21 AM   #37
Kendancer1
LQ Newbie
 
Registered: Apr 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
tobiSGD: Thank you, I entered command "sudo route add default gw 192.168.0.1"
Response: "[sudo] password for kenken:" I entered my password
Response: "SIOCADDRT: No such process"
Ken
 
Old 04-23-2012, 10:51 AM   #38
Kendancer1
LQ Newbie
 
Registered: Apr 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Thor 2, K3lt01 & TobiSGD: Some points about computer. I originally set up my desktop w/ a modem from the local telephone company Qwest (now CenturyLink), the modem was simple but effective. Several months ago I found a different modem on craigslist, also from Qwest but this one has several Internet ports in back to run several pc's, netflix at same time. So this is the one I currently have, this is the one I found IP Address, Subnet Mask & Default Gateway in windows. Could the changing to a different modem cause issues, I had run fine for several months before this whole thing began. Second, I am getting a weird issue w/ my desktop/linux, it began at same time the "firefox can't find the server at start.ubuntu.com" issue began. It is this, when I start up my computer and leave on for several hours with no activity, the screen goes black and the green-lit on/off button goes yellow and I cannot get the screen back on. The Processor, which has a green on/off button is lit but nothing happens. I have to hold Processor button in for several seconds till the processor shuts down, wait several seconds, then I am able to turn computer back on. Computer & screen then works again, only to go thru the process all over again. Any suggestions? Ken
 
Old 04-30-2012, 11:28 AM   #39
Kendancer1
LQ Newbie
 
Registered: Apr 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Hello, is anyone still out there and available to help with my computer issue? Ken.
 
Old 04-30-2012, 08:46 PM   #40
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Sure are Ken, what have you done since your last post a week ago?
 
Old 04-30-2012, 10:37 PM   #41
Kendancer1
LQ Newbie
 
Registered: Apr 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
K3lt01: Per TobiSGD, he suggested the following, "sudo route add default gw 192.168.0.1", I posted my results, prior was Thor's entry. I posted my results for that also. Kinda stuck as to what to try next. Did you read the latest thread about the switching to a different modem? I'm not sure that has any bearing, it's worked fine for the windows os, actually it worked fine for about 2 months w/ linux. Ken
 
Old 04-30-2012, 10:49 PM   #42
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Yeah I did read that, sory got a bit on my mind lately so didn't really notice your question about the modem. Did Firefox in Ubuntu work at all with this current modem? If it hasn't then are you able to try the old modem? You will probably need to reset the gateway again if the IP address is different.
 
Old 05-01-2012, 06:12 AM   #43
Kendancer1
LQ Newbie
 
Registered: Apr 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
K3lt01: Yes, they both worked when I switched over to the new modem, windows is still running with it. I did hook the old modem back up to check it and had the same issue, one up, one down. The Gateway listed above is of the new modem. Ken.
 
Old 05-01-2012, 07:06 AM   #44
Kendancer1
LQ Newbie
 
Registered: Apr 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
k3lt01: Just a quick thought, would upgrading or reloading my current linux version solve anything? I realize it would take away the trouble-shooting process but...Ken
 
Old 05-01-2012, 05:26 PM   #45
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by Kendancer1 View Post
k3lt01: Just a quick thought, would upgrading or reloading my current linux version solve anything? I realize it would take away the trouble-shooting process but...Ken
Possibly, but I doubt it. I'm just a little stumped as to what the issue may be. Have you got encryption on the modem? WEP or WPA or anything like that? In other words do you have a password to it.
 
  


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] help firefox cannot find server john edward Linux - Newbie 4 09-24-2011 09:03 PM
[SOLVED] firefox cannot find server moonmoth Linux - General 6 06-26-2011 12:31 PM
Firefox in Fedora 15 cannot find server moonmoth Linux - Distributions 3 06-25-2011 05:26 PM
Xubuntu 10.10 - Firefox can't find the server - no longer able to access the internet Rookie999 Ubuntu 2 03-11-2011 01:01 PM
The ' and / keys cause Firefox start find...annoying Baix Linux - Software 1 07-02-2005 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:02 PM.

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