Hirdetés

Hirdetés

Új hozzászólás Aktív témák

  • meone

    tag

    válasz Jester01 #23757 üzenetére

    Most újra húztam és teljesen szűzön kezdtem telepíteni a cuccot.
    Jelenleg ez a konfig van benne restart után:

    root@raspberrypi:/home/pi# cat /proc/sys/net/ipv4/ip_forward
    1
    root@raspberrypi:/home/pi# route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    0.0.0.0 192.168.1.1 0.0.0.0 UG 202 0 0 eth0
    192.168.1.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0
    root@raspberrypi:/home/pi# cat /etc/network/interfaces
    # interfaces(5) file used by ifup(8) and ifdown(8)

    # Please note that this file is written to be used with dhcpcd
    # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

    # Include files from /etc/network/interfaces.d:
    source-directory /etc/network/interfaces.d

    auto lo
    iface lo inet loopback

    allow-hotplug eth0
    iface eth0 inet manual
    address 192.168.2.1
    network 192.168.2.0
    netmask 255.255.255.0
    broadcast 192.168.2.255
    gateway 192.168.2.1

    allow-hotplug wlan0
    iface wlan0 inet manual
    address 192.168.1.98
    netmask 255.255.255.0
    broadcast 192.168.1.255
    gateway 192.168.1.1
    # wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

    #allow-hotplug wlan1
    #iface wlan1 inet manual
    # wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

    Így tisztábbnak láttam megcsinálni.
    Még a routingon reszelni kell de hogyan?

    Elnézést kérek mindenkitől a helyes írásom ért :)

Új hozzászólás Aktív témák