2014-09-24 - Re: [GRASE-Hotspot] Ubuntu 14.04 LTS + grase installation - (second network card problem - card is visible with ifconfig -a)

Header Data

From: bartosz <ba***z@miklaszewski.com>
Message Hash: d05c1c68cbd212cc2464ecd0a599e84b2ae35434d025d848cf2285b8dc48cec2
Message ID: <4f0221c1-578f-455f-af3d-5117359af032@grasehotspot.org>
Reply To: <54233048.6000908@terminal-consulting.de>
UTC Datetime: 2014-09-24 14:04:37 UTC
Raw Date: Wed, 24 Sep 2014 14:04:37 -0700

Raw message

yes, next time i will go for something bigger with 2 nics,


if you download grase-repo_1.5_all.deb why do you install 
grase-repo_1.4_all.deb? (my mistake as i was typing, it suppose to be 1.5) 
misspelling

right:


bart@hotspot:~$ ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state 
UP group default qlen 1000
    link/ether c0:3f:d5:6a:09:1e brd ff:ff:ff:ff:ff:ff
    inet 192.168.7.100/24 brd 192.168.7.255 scope global em1
       valid_lft forever preferred_lft forever
    inet6 fe80::c23f:d5ff:fe6a:91e/64 scope link 
       valid_lft forever preferred_lft forever
3: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default 
qlen 1000
    link/ether 00:e0:4c:36:00:8c brd ff:ff:ff:ff:ff:ff
8: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc 
pfifo_fast state UNKNOWN group default qlen 100
    link/none 
    inet 10.64.63.48 peer 10.64.62.1/32 scope global tun0
       valid_lft forever preferred_lft forever
bart@hotspot:~$ 



bart@hotspot:~$ ifconfig -a
em1       Link encap:Ethernet  HWaddr c0:3f:d5:6a:09:1e  
          inet addr:192.168.7.100  Bcast:192.168.7.255  Mask:255.255.255.0
          inet6 addr: fe80::c23f:d5ff:fe6a:91e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:33863 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16955 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:47050737 (47.0 MB)  TX bytes:1325305 (1.3 MB)
          Interrupt:20 Memory:f7c00000-f7c20000 

eth0      Link encap:Ethernet  HWaddr 00:e0:4c:36:00:8c  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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:200 errors:0 dropped:0 overruns:0 frame:0
          TX packets:200 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:57389 (57.3 KB)  TX bytes:57389 (57.3 KB)

tun0      Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.64.63.48  P-t-P:10.64.62.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:3326 (3.3 KB)  TX bytes:0 (0.0 B)

bart@hotspot:~$ 



bart@hotspot:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto em1
iface em1 inet static
address 192.168.7.100
network 192.168.7.0
netmask 255.255.255.0
broadcast 192.168.7.255
gateway 192.168.7.1
dns-nameservers 8.8.8.8 4.2.2.2

iface eth0 inet manual
bart@hotspot:~$ 









On Wednesday, 24 September 2014 21:57:21 UTC+1, heil wrote:
>
>  Hi,
>
> On 24.09.2014 22:42, bartosz wrote:
>  
>  Hi, on the begging many thx for great hotspot system, I use with 4 
> different places and never had problems until today
>
>  
>  
>  # hardware used
> Intel Next Unit Of Computing (mini pc) with usb network card
>
>   I would prefer boxes with at least two nics. 
>
>  # Ubuntu installation process
> went as usual, with small difference, it didn't show the screen where you 
> choice network card. 
>
>  # after installation
>
>  "ifconfig" command shows em1 and lo but no usb lan card interface, where 
> em1 is connected to outside world and getting ip over dhcp.
>
>  "ifconfig -a" shows usb card as eth0 (so card is visible and if i set it 
> up manually it works when connected to internet)
>
>  as i need manual ip ive changed it to:
>  
>  "cat /etc/networks/interfaces"
> --------------------------------
> auto lo
> iface lo inet loopback
>
>  auto em1
> iface em1 inet static
> address 192.168.7.100
> network 192.168.7.0
> netmask 255.255.255.0
> broadcast 192.168.7.255
> gateway 192.168.7.1
> dns-nameservers 8.8.8.8 4.2.2.2
> --------------------------------
>
>  #grase installation - no problems !!
>
>  wget 
> http://packages.grasehotspot.org/pool/main/g/grase-repo/grase-repo_1.5_all.deb
>
>  sudo dpkg -i grase-repo_1.4_all.deb
>
>   if you download grase-repo_1.5_all.deb why do you install 
> grase-repo_1.4_all.deb?
>
>  sudo apt-get update
>
>  sudo apt-get install grase-www-portal grase-conf-freeradius 
> grase-conf-squid3 grase-conf-openvpn
>
>  # after grase installation
>
>  ifconfig shows now: em1 lo and tun0 (10.64.63.48) but no eth0
>
>  
>   I guess that your ubuntu did not recognice the usb nic? 
>
>  i know its something stiupid with configuration, but i missing it, and 
> this is 3rd day i am working on it an still no changes :| so i hope someone 
> knows what i am missing, if you need some other setting please let me know 
>
>   
> Could you paste you complete steps and "ip a s" and or "ifconfig -a" ?
>
>  many thanks
>
>  Bartosz
>
>  
>  -- 
> This mailing list is for the Grase Hotspot Project http://grasehotspot.org
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Grase Hotspot" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to gr***.@grasehotspot.org <javascript:>.
> To post to this group, send email to gr***.@grasehotspot.org 
> <javascript:>.
> Visit this group at 
> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
> To view this discussion on the web visit 
> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/1399fe0a-8e8f-4b2b-b01b-5565809c5c35%40grasehotspot.org 
> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/1399fe0a-8e8f-4b2b-b01b-5565809c5c35%40grasehotspot.org?utm_medium=email&utm_source=footer>
> .
>
>
> cheers
> thomas 
>

On Wednesday, 24 September 2014 21:57:21 UTC+1, heil wrote:
>
>  Hi,
>
> On 24.09.2014 22:42, bartosz wrote:
>  
>  Hi, on the begging many thx for great hotspot system, I use with 4 
> different places and never had problems until today
>
>  
>  
>  # hardware used
> Intel Next Unit Of Computing (mini pc) with usb network card
>
>   I would prefer boxes with at least two nics. 
>
>  # Ubuntu installation process
> went as usual, with small difference, it didn't show the screen where you 
> choice network card. 
>
>  # after installation
>
>  "ifconfig" command shows em1 and lo but no usb lan card interface, where 
> em1 is connected to outside world and getting ip over dhcp.
>
>  "ifconfig -a" shows usb card as eth0 (so card is visible and if i set it 
> up manually it works when connected to internet)
>
>  as i need manual ip ive changed it to:
>  
>  "cat /etc/networks/interfaces"
> --------------------------------
> auto lo
> iface lo inet loopback
>
>  auto em1
> iface em1 inet static
> address 192.168.7.100
> network 192.168.7.0
> netmask 255.255.255.0
> broadcast 192.168.7.255
> gateway 192.168.7.1
> dns-nameservers 8.8.8.8 4.2.2.2
> --------------------------------
>
>  #grase installation - no problems !!
>
>  wget 
> http://packages.grasehotspot.org/pool/main/g/grase-repo/grase-repo_1.5_all.deb
>
>  sudo dpkg -i grase-repo_1.4_all.deb
>
>   if you download grase-repo_1.5_all.deb why do you install 
> grase-repo_1.4_all.deb?
>
>  sudo apt-get update
>
>  sudo apt-get install grase-www-portal grase-conf-freeradius 
> grase-conf-squid3 grase-conf-openvpn
>
>  # after grase installation
>
>  ifconfig shows now: em1 lo and tun0 (10.64.63.48) but no eth0
>
>  
>   I guess that your ubuntu did not recognice the usb nic? 
>
>  i know its something stiupid with configuration, but i missing it, and 
> this is 3rd day i am working on it an still no changes :| so i hope someone 
> knows what i am missing, if you need some other setting please let me know 
>
>   
> Could you paste you complete steps and "ip a s" and or "ifconfig -a" ?
>
>  many thanks
>
>  Bartosz
>
>  
>  -- 
> This mailing list is for the Grase Hotspot Project http://grasehotspot.org
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Grase Hotspot" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to gr***.@grasehotspot.org <javascript:>.
> To post to this group, send email to gr***.@grasehotspot.org 
> <javascript:>.
> Visit this group at 
> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
> To view this discussion on the web visit 
> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/1399fe0a-8e8f-4b2b-b01b-5565809c5c35%40grasehotspot.org 
> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/1399fe0a-8e8f-4b2b-b01b-5565809c5c35%40grasehotspot.org?utm_medium=email&utm_source=footer>
> .
>
>
> cheers
> thomas 
>

Thread