Ad-hoc network to for SSH with DHCP Server


up vote
0
down vote
favorite
I want to setup an ad-hoc network over WiFi to access my Ubuntu 16.04 LTS. I get a lot of different errors, as I'm not really familiar with the theme. Here is what I did:
First I setup a network with built in functions of Ubuntu. Then I went trough this tutorial. In the stage right now my Ubuntu won't get a static IP and my client system (Mac OSX) won't get a IP address like it should.
Output of ifconfig
command:
enp2s0 Link encap:Ethernet HWaddr 00:c0:08:92:98:d9
inet addr:172.30.136.33 Bcast:172.30.136.255 Mask:255.255.255.0
inet6 addr: fe80::c90c:725a:d4f4:bd7e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1300 Metric:1
RX packets:4082 errors:0 dropped:2 overruns:0 frame:0
TX packets:2559 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2621566 (2.6 MB) TX bytes:392142 (392.1 KB)
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:65536 Metric:1
RX packets:13591 errors:0 dropped:0 overruns:0 frame:0
TX packets:13591 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1146870 (1.1 MB) TX bytes:1146870 (1.1 MB)
wlx00a82b000068 Link encap:Ethernet HWaddr 00:a8:2b:00:00:68
inet addr:10.42.0.1 Bcast:10.42.0.255 Mask:255.255.255.0
inet6 addr: fe80::d08a:9a10:a4fb:6612/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:10477 (10.4 KB)
networking server ssh dhcp ip
add a comment |Â
up vote
0
down vote
favorite
I want to setup an ad-hoc network over WiFi to access my Ubuntu 16.04 LTS. I get a lot of different errors, as I'm not really familiar with the theme. Here is what I did:
First I setup a network with built in functions of Ubuntu. Then I went trough this tutorial. In the stage right now my Ubuntu won't get a static IP and my client system (Mac OSX) won't get a IP address like it should.
Output of ifconfig
command:
enp2s0 Link encap:Ethernet HWaddr 00:c0:08:92:98:d9
inet addr:172.30.136.33 Bcast:172.30.136.255 Mask:255.255.255.0
inet6 addr: fe80::c90c:725a:d4f4:bd7e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1300 Metric:1
RX packets:4082 errors:0 dropped:2 overruns:0 frame:0
TX packets:2559 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2621566 (2.6 MB) TX bytes:392142 (392.1 KB)
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:65536 Metric:1
RX packets:13591 errors:0 dropped:0 overruns:0 frame:0
TX packets:13591 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1146870 (1.1 MB) TX bytes:1146870 (1.1 MB)
wlx00a82b000068 Link encap:Ethernet HWaddr 00:a8:2b:00:00:68
inet addr:10.42.0.1 Bcast:10.42.0.255 Mask:255.255.255.0
inet6 addr: fe80::d08a:9a10:a4fb:6612/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:10477 (10.4 KB)
networking server ssh dhcp ip
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to setup an ad-hoc network over WiFi to access my Ubuntu 16.04 LTS. I get a lot of different errors, as I'm not really familiar with the theme. Here is what I did:
First I setup a network with built in functions of Ubuntu. Then I went trough this tutorial. In the stage right now my Ubuntu won't get a static IP and my client system (Mac OSX) won't get a IP address like it should.
Output of ifconfig
command:
enp2s0 Link encap:Ethernet HWaddr 00:c0:08:92:98:d9
inet addr:172.30.136.33 Bcast:172.30.136.255 Mask:255.255.255.0
inet6 addr: fe80::c90c:725a:d4f4:bd7e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1300 Metric:1
RX packets:4082 errors:0 dropped:2 overruns:0 frame:0
TX packets:2559 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2621566 (2.6 MB) TX bytes:392142 (392.1 KB)
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:65536 Metric:1
RX packets:13591 errors:0 dropped:0 overruns:0 frame:0
TX packets:13591 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1146870 (1.1 MB) TX bytes:1146870 (1.1 MB)
wlx00a82b000068 Link encap:Ethernet HWaddr 00:a8:2b:00:00:68
inet addr:10.42.0.1 Bcast:10.42.0.255 Mask:255.255.255.0
inet6 addr: fe80::d08a:9a10:a4fb:6612/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:10477 (10.4 KB)
networking server ssh dhcp ip
I want to setup an ad-hoc network over WiFi to access my Ubuntu 16.04 LTS. I get a lot of different errors, as I'm not really familiar with the theme. Here is what I did:
First I setup a network with built in functions of Ubuntu. Then I went trough this tutorial. In the stage right now my Ubuntu won't get a static IP and my client system (Mac OSX) won't get a IP address like it should.
Output of ifconfig
command:
enp2s0 Link encap:Ethernet HWaddr 00:c0:08:92:98:d9
inet addr:172.30.136.33 Bcast:172.30.136.255 Mask:255.255.255.0
inet6 addr: fe80::c90c:725a:d4f4:bd7e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1300 Metric:1
RX packets:4082 errors:0 dropped:2 overruns:0 frame:0
TX packets:2559 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2621566 (2.6 MB) TX bytes:392142 (392.1 KB)
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:65536 Metric:1
RX packets:13591 errors:0 dropped:0 overruns:0 frame:0
TX packets:13591 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1146870 (1.1 MB) TX bytes:1146870 (1.1 MB)
wlx00a82b000068 Link encap:Ethernet HWaddr 00:a8:2b:00:00:68
inet addr:10.42.0.1 Bcast:10.42.0.255 Mask:255.255.255.0
inet6 addr: fe80::d08a:9a10:a4fb:6612/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:10477 (10.4 KB)
networking server ssh dhcp ip
edited May 20 at 19:54


Eskander Bejaoui
1,0041619
1,0041619
asked May 20 at 13:09


dofrey
12
12
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1038380%2fad-hoc-network-to-for-ssh-with-dhcp-server%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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