How to connect my Ubuntu Server to internet The Next CEO of Stack OverflowAccessing server on InternetHow to run a local and external website on same computer with 2 NIC's, 2 Routers and 3 separate networks?How can I connect to the internet in Ubuntu server?How to connect to internet Ubuntu server command line 14.04Step By Step : Making a server accessible worldwideHow to connect to internet?Can't connect to internet, Ubuntu 16.0.4.1 serverUbuntu web server can't connect to internetUbuntu 14.0 VM (VirtualBox) on Windows 7 host not connecting to internetCannot connect to internet - Ubuntu Server 14.04
How can I open an app using Terminal?
Is a stroke of luck acceptable after a series of unfavorable events?
How do I construct this japanese bowl?
How to start emacs in "nothing" mode (`fundamental-mode`)
What is the point of a new vote on May's deal when the indicative votes suggest she will not win?
Which organization defines CJK Unified Ideographs?
How easy is it to start Magic from scratch?
If I blow insulation everywhere in my attic except the door trap, will heat escape through it?
How to safely derail a train during transit?
When airplanes disconnect from a tanker during air to air refueling, why do they bank so sharply to the right?
Only print output after finding pattern
Why doesn't a table tennis ball float on the surface? How do we calculate buoyancy here?
What is the purpose of the Evocation wizard's Potent Cantrip feature?
Anatomically Correct Mesopelagic Aves
What happens if you roll doubles 3 times then land on "Go to jail?"
How to write papers efficiently when English isn't my first language?
Science fiction (dystopian) short story set after WWIII
How do we know the LHC results are robust?
Grabbing quick drinks
The King's new dress
Rotate a column
How to make a software documentation "officially" citable?
When Does an Atlas Uniquely Define a Manifold?
Need some help with wall behind rangetop
How to connect my Ubuntu Server to internet
The Next CEO of Stack OverflowAccessing server on InternetHow to run a local and external website on same computer with 2 NIC's, 2 Routers and 3 separate networks?How can I connect to the internet in Ubuntu server?How to connect to internet Ubuntu server command line 14.04Step By Step : Making a server accessible worldwideHow to connect to internet?Can't connect to internet, Ubuntu 16.0.4.1 serverUbuntu web server can't connect to internetUbuntu 14.0 VM (VirtualBox) on Windows 7 host not connecting to internetCannot connect to internet - Ubuntu Server 14.04
I know this might be a duplicate question, but I have scoured the forums and none of the answers have worked for me yet. I want to set up an ubuntu server on my old Dell laptop as it is useless as a laptop now but still works.
Here are the steps I took:
- Created a bootable USB with Ubuntu server on it using unetbootin
- Set up Ubuntu Server with SSH, LAMP to connect via my WIFI connection
- Got the server working and logged in
trying to run
sudo apt-get update
results in the following errors (sorry for crappy photo) Terminal window showing error messagesYes, I am located in Thailand.
- I am using a Zyxel Router
- ifconfig reveals my inet addr to me 127.0.0.1, localhost
I don't know if this is a configuration issue or related to my router not allowing me to create a server.
Hopefully my question isn't too vague. If anyone could direct me on where I might be going wrong that would be cool!
Thanks
14.04 server ssh internet
add a comment |
I know this might be a duplicate question, but I have scoured the forums and none of the answers have worked for me yet. I want to set up an ubuntu server on my old Dell laptop as it is useless as a laptop now but still works.
Here are the steps I took:
- Created a bootable USB with Ubuntu server on it using unetbootin
- Set up Ubuntu Server with SSH, LAMP to connect via my WIFI connection
- Got the server working and logged in
trying to run
sudo apt-get update
results in the following errors (sorry for crappy photo) Terminal window showing error messagesYes, I am located in Thailand.
- I am using a Zyxel Router
- ifconfig reveals my inet addr to me 127.0.0.1, localhost
I don't know if this is a configuration issue or related to my router not allowing me to create a server.
Hopefully my question isn't too vague. If anyone could direct me on where I might be going wrong that would be cool!
Thanks
14.04 server ssh internet
What kind of server(s) are you trying to set up? Web? ssh? ftp? vpn?
– Organic Marble
Jun 2 '16 at 2:03
It's an SSH server as far as I'm aware. I'm using a LAMP stack and operating through SSH. Basically I want to be able to host websites on there
– Ryan Mc
Jun 2 '16 at 2:39
To access an ssh server from outside your lan, you need to forward the appropriate port in your router to your server pc. Otherwise connection requests stop in the router. then ypu need to determine what your external ip address is.
– Organic Marble
Jun 2 '16 at 11:38
add a comment |
I know this might be a duplicate question, but I have scoured the forums and none of the answers have worked for me yet. I want to set up an ubuntu server on my old Dell laptop as it is useless as a laptop now but still works.
Here are the steps I took:
- Created a bootable USB with Ubuntu server on it using unetbootin
- Set up Ubuntu Server with SSH, LAMP to connect via my WIFI connection
- Got the server working and logged in
trying to run
sudo apt-get update
results in the following errors (sorry for crappy photo) Terminal window showing error messagesYes, I am located in Thailand.
- I am using a Zyxel Router
- ifconfig reveals my inet addr to me 127.0.0.1, localhost
I don't know if this is a configuration issue or related to my router not allowing me to create a server.
Hopefully my question isn't too vague. If anyone could direct me on where I might be going wrong that would be cool!
Thanks
14.04 server ssh internet
I know this might be a duplicate question, but I have scoured the forums and none of the answers have worked for me yet. I want to set up an ubuntu server on my old Dell laptop as it is useless as a laptop now but still works.
Here are the steps I took:
- Created a bootable USB with Ubuntu server on it using unetbootin
- Set up Ubuntu Server with SSH, LAMP to connect via my WIFI connection
- Got the server working and logged in
trying to run
sudo apt-get update
results in the following errors (sorry for crappy photo) Terminal window showing error messagesYes, I am located in Thailand.
- I am using a Zyxel Router
- ifconfig reveals my inet addr to me 127.0.0.1, localhost
I don't know if this is a configuration issue or related to my router not allowing me to create a server.
Hopefully my question isn't too vague. If anyone could direct me on where I might be going wrong that would be cool!
Thanks
14.04 server ssh internet
14.04 server ssh internet
asked Jun 2 '16 at 0:01
Ryan McRyan Mc
313
313
What kind of server(s) are you trying to set up? Web? ssh? ftp? vpn?
– Organic Marble
Jun 2 '16 at 2:03
It's an SSH server as far as I'm aware. I'm using a LAMP stack and operating through SSH. Basically I want to be able to host websites on there
– Ryan Mc
Jun 2 '16 at 2:39
To access an ssh server from outside your lan, you need to forward the appropriate port in your router to your server pc. Otherwise connection requests stop in the router. then ypu need to determine what your external ip address is.
– Organic Marble
Jun 2 '16 at 11:38
add a comment |
What kind of server(s) are you trying to set up? Web? ssh? ftp? vpn?
– Organic Marble
Jun 2 '16 at 2:03
It's an SSH server as far as I'm aware. I'm using a LAMP stack and operating through SSH. Basically I want to be able to host websites on there
– Ryan Mc
Jun 2 '16 at 2:39
To access an ssh server from outside your lan, you need to forward the appropriate port in your router to your server pc. Otherwise connection requests stop in the router. then ypu need to determine what your external ip address is.
– Organic Marble
Jun 2 '16 at 11:38
What kind of server(s) are you trying to set up? Web? ssh? ftp? vpn?
– Organic Marble
Jun 2 '16 at 2:03
What kind of server(s) are you trying to set up? Web? ssh? ftp? vpn?
– Organic Marble
Jun 2 '16 at 2:03
It's an SSH server as far as I'm aware. I'm using a LAMP stack and operating through SSH. Basically I want to be able to host websites on there
– Ryan Mc
Jun 2 '16 at 2:39
It's an SSH server as far as I'm aware. I'm using a LAMP stack and operating through SSH. Basically I want to be able to host websites on there
– Ryan Mc
Jun 2 '16 at 2:39
To access an ssh server from outside your lan, you need to forward the appropriate port in your router to your server pc. Otherwise connection requests stop in the router. then ypu need to determine what your external ip address is.
– Organic Marble
Jun 2 '16 at 11:38
To access an ssh server from outside your lan, you need to forward the appropriate port in your router to your server pc. Otherwise connection requests stop in the router. then ypu need to determine what your external ip address is.
– Organic Marble
Jun 2 '16 at 11:38
add a comment |
3 Answers
3
active
oldest
votes
You dont have an ip address. see https://help.ubuntu.com/14.04/serverguide/network-configuration.html
I couldnt find a good primer on ipv4 or routing to link you to. this one should get you started, http://computer.howstuffworks.com/internet/basics/question549.htm also look up how routers, and nat (network address translation) works.
you'll want to forward to traffic to your new server if you intend to reach it from outside your home network. the docs at netfilter.org can tell you how to do this.
This doesn't work for me. I'm using wifi but the examples assume using ethernet. However, whatever command I run I get "Device not found" message. Here is an example of trying to create temp ip address: sudo ifconfig eth0 192.168.1.1 netmask 255.255.255.0 or sudo ifconfig wlan0 192.168.1.1 netmask 255.255.255.0
– Ryan Mc
Jun 2 '16 at 2:04
add a comment |
Firstly you have to make sure that wireless interface is actually detected
sudo lshw -C network
If not, you need to install suitable drivers for the wireless card.
If it is detected, you need to make sure that wireless interface is listed in /etc/network/interfaces, look for lines or create them
auto wlan0
iface wlan0 inet dhcp
Then you'll need to connect to the wireless access point, actual steps depend on your wifi security, so i'll provide this link with some really nice instructions:
http://ubuntuforums.org/showthread.php?t=571188
Thanks, it turns out my wifi card is called wlp18s0b1. Crazy!
– Ryan Mc
Jun 2 '16 at 15:30
add a comment |
This one work for my ubuntu server 16.04 with USB wifi adapter.
https://www.linuxbabe.com/command-line/ubuntu-server-16-04-wifi-wpa-supplicant
New contributor
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f780619%2fhow-to-connect-my-ubuntu-server-to-internet%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You dont have an ip address. see https://help.ubuntu.com/14.04/serverguide/network-configuration.html
I couldnt find a good primer on ipv4 or routing to link you to. this one should get you started, http://computer.howstuffworks.com/internet/basics/question549.htm also look up how routers, and nat (network address translation) works.
you'll want to forward to traffic to your new server if you intend to reach it from outside your home network. the docs at netfilter.org can tell you how to do this.
This doesn't work for me. I'm using wifi but the examples assume using ethernet. However, whatever command I run I get "Device not found" message. Here is an example of trying to create temp ip address: sudo ifconfig eth0 192.168.1.1 netmask 255.255.255.0 or sudo ifconfig wlan0 192.168.1.1 netmask 255.255.255.0
– Ryan Mc
Jun 2 '16 at 2:04
add a comment |
You dont have an ip address. see https://help.ubuntu.com/14.04/serverguide/network-configuration.html
I couldnt find a good primer on ipv4 or routing to link you to. this one should get you started, http://computer.howstuffworks.com/internet/basics/question549.htm also look up how routers, and nat (network address translation) works.
you'll want to forward to traffic to your new server if you intend to reach it from outside your home network. the docs at netfilter.org can tell you how to do this.
This doesn't work for me. I'm using wifi but the examples assume using ethernet. However, whatever command I run I get "Device not found" message. Here is an example of trying to create temp ip address: sudo ifconfig eth0 192.168.1.1 netmask 255.255.255.0 or sudo ifconfig wlan0 192.168.1.1 netmask 255.255.255.0
– Ryan Mc
Jun 2 '16 at 2:04
add a comment |
You dont have an ip address. see https://help.ubuntu.com/14.04/serverguide/network-configuration.html
I couldnt find a good primer on ipv4 or routing to link you to. this one should get you started, http://computer.howstuffworks.com/internet/basics/question549.htm also look up how routers, and nat (network address translation) works.
you'll want to forward to traffic to your new server if you intend to reach it from outside your home network. the docs at netfilter.org can tell you how to do this.
You dont have an ip address. see https://help.ubuntu.com/14.04/serverguide/network-configuration.html
I couldnt find a good primer on ipv4 or routing to link you to. this one should get you started, http://computer.howstuffworks.com/internet/basics/question549.htm also look up how routers, and nat (network address translation) works.
you'll want to forward to traffic to your new server if you intend to reach it from outside your home network. the docs at netfilter.org can tell you how to do this.
edited Jun 2 '16 at 1:54
answered Jun 2 '16 at 1:41
pixelpixel
113
113
This doesn't work for me. I'm using wifi but the examples assume using ethernet. However, whatever command I run I get "Device not found" message. Here is an example of trying to create temp ip address: sudo ifconfig eth0 192.168.1.1 netmask 255.255.255.0 or sudo ifconfig wlan0 192.168.1.1 netmask 255.255.255.0
– Ryan Mc
Jun 2 '16 at 2:04
add a comment |
This doesn't work for me. I'm using wifi but the examples assume using ethernet. However, whatever command I run I get "Device not found" message. Here is an example of trying to create temp ip address: sudo ifconfig eth0 192.168.1.1 netmask 255.255.255.0 or sudo ifconfig wlan0 192.168.1.1 netmask 255.255.255.0
– Ryan Mc
Jun 2 '16 at 2:04
This doesn't work for me. I'm using wifi but the examples assume using ethernet. However, whatever command I run I get "Device not found" message. Here is an example of trying to create temp ip address: sudo ifconfig eth0 192.168.1.1 netmask 255.255.255.0 or sudo ifconfig wlan0 192.168.1.1 netmask 255.255.255.0
– Ryan Mc
Jun 2 '16 at 2:04
This doesn't work for me. I'm using wifi but the examples assume using ethernet. However, whatever command I run I get "Device not found" message. Here is an example of trying to create temp ip address: sudo ifconfig eth0 192.168.1.1 netmask 255.255.255.0 or sudo ifconfig wlan0 192.168.1.1 netmask 255.255.255.0
– Ryan Mc
Jun 2 '16 at 2:04
add a comment |
Firstly you have to make sure that wireless interface is actually detected
sudo lshw -C network
If not, you need to install suitable drivers for the wireless card.
If it is detected, you need to make sure that wireless interface is listed in /etc/network/interfaces, look for lines or create them
auto wlan0
iface wlan0 inet dhcp
Then you'll need to connect to the wireless access point, actual steps depend on your wifi security, so i'll provide this link with some really nice instructions:
http://ubuntuforums.org/showthread.php?t=571188
Thanks, it turns out my wifi card is called wlp18s0b1. Crazy!
– Ryan Mc
Jun 2 '16 at 15:30
add a comment |
Firstly you have to make sure that wireless interface is actually detected
sudo lshw -C network
If not, you need to install suitable drivers for the wireless card.
If it is detected, you need to make sure that wireless interface is listed in /etc/network/interfaces, look for lines or create them
auto wlan0
iface wlan0 inet dhcp
Then you'll need to connect to the wireless access point, actual steps depend on your wifi security, so i'll provide this link with some really nice instructions:
http://ubuntuforums.org/showthread.php?t=571188
Thanks, it turns out my wifi card is called wlp18s0b1. Crazy!
– Ryan Mc
Jun 2 '16 at 15:30
add a comment |
Firstly you have to make sure that wireless interface is actually detected
sudo lshw -C network
If not, you need to install suitable drivers for the wireless card.
If it is detected, you need to make sure that wireless interface is listed in /etc/network/interfaces, look for lines or create them
auto wlan0
iface wlan0 inet dhcp
Then you'll need to connect to the wireless access point, actual steps depend on your wifi security, so i'll provide this link with some really nice instructions:
http://ubuntuforums.org/showthread.php?t=571188
Firstly you have to make sure that wireless interface is actually detected
sudo lshw -C network
If not, you need to install suitable drivers for the wireless card.
If it is detected, you need to make sure that wireless interface is listed in /etc/network/interfaces, look for lines or create them
auto wlan0
iface wlan0 inet dhcp
Then you'll need to connect to the wireless access point, actual steps depend on your wifi security, so i'll provide this link with some really nice instructions:
http://ubuntuforums.org/showthread.php?t=571188
answered Jun 2 '16 at 11:39
TaaviTaavi
31839
31839
Thanks, it turns out my wifi card is called wlp18s0b1. Crazy!
– Ryan Mc
Jun 2 '16 at 15:30
add a comment |
Thanks, it turns out my wifi card is called wlp18s0b1. Crazy!
– Ryan Mc
Jun 2 '16 at 15:30
Thanks, it turns out my wifi card is called wlp18s0b1. Crazy!
– Ryan Mc
Jun 2 '16 at 15:30
Thanks, it turns out my wifi card is called wlp18s0b1. Crazy!
– Ryan Mc
Jun 2 '16 at 15:30
add a comment |
This one work for my ubuntu server 16.04 with USB wifi adapter.
https://www.linuxbabe.com/command-line/ubuntu-server-16-04-wifi-wpa-supplicant
New contributor
add a comment |
This one work for my ubuntu server 16.04 with USB wifi adapter.
https://www.linuxbabe.com/command-line/ubuntu-server-16-04-wifi-wpa-supplicant
New contributor
add a comment |
This one work for my ubuntu server 16.04 with USB wifi adapter.
https://www.linuxbabe.com/command-line/ubuntu-server-16-04-wifi-wpa-supplicant
New contributor
This one work for my ubuntu server 16.04 with USB wifi adapter.
https://www.linuxbabe.com/command-line/ubuntu-server-16-04-wifi-wpa-supplicant
New contributor
New contributor
answered 2 mins ago
Nyi NyiNyi Nyi
11
11
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f780619%2fhow-to-connect-my-ubuntu-server-to-internet%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What kind of server(s) are you trying to set up? Web? ssh? ftp? vpn?
– Organic Marble
Jun 2 '16 at 2:03
It's an SSH server as far as I'm aware. I'm using a LAMP stack and operating through SSH. Basically I want to be able to host websites on there
– Ryan Mc
Jun 2 '16 at 2:39
To access an ssh server from outside your lan, you need to forward the appropriate port in your router to your server pc. Otherwise connection requests stop in the router. then ypu need to determine what your external ip address is.
– Organic Marble
Jun 2 '16 at 11:38